Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 191.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.605/2.605, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8514/0.8527, allocations: 140.4 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001876/0.8547, allocations: 0.6742 MB / 0.9496 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.8555, allocations: 0.8003 MB / 0.9504 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.8555, allocations: 4 kB / 0.9504 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.8556, allocations: 0 / 0.9504 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.8556, allocations: 9.297 kB / 0.9504 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.8558, allocations: 1.375 kB / 0.9504 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.8559, allocations: 22.8 kB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.8559, allocations: 2.75 kB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.856, allocations: 12.05 kB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.8561, allocations: 6.688 kB / 0.9504 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.8561, allocations: 1.375 kB / 0.9504 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.8561, allocations: 7.938 kB / 0.9504 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.8561, allocations: 5.375 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.8562, allocations: 9.297 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.8563, allocations: 20.03 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8563, allocations: 0 / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8563, allocations: 1.375 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.8563, allocations: 0 / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003921/0.8567, allocations: 325.7 kB / 0.9508 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.8567, allocations: 9.625 kB / 0.9508 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.8568, allocations: 6.312 kB / 0.9508 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.8569, allocations: 173.7 kB / 0.951 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.8569, allocations: 384 / 0.951 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.8569, allocations: 1.75 kB / 0.951 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.857, allocations: 39.75 kB / 0.951 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.8571, allocations: 192 / 0.951 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8571, allocations: 3.938 kB / 0.951 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.8571, allocations: 0 / 0.951 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.284e-05/0.8572, allocations: 12.19 kB / 0.951 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.8573, allocations: 157.8 kB / 0.9512 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.8574, allocations: 30.67 kB / 0.9512 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.8574, allocations: 10.36 kB / 0.9512 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.8575, allocations: 0 / 0.9512 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8575, allocations: 35.92 kB / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.8575, allocations: 0 / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002106/0.8577, allocations: 60.69 kB / 0.9513 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.8577, allocations: 52.78 kB / 0.9514 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.8578, allocations: 103.3 kB / 0.9515 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.8578, allocations: 27.08 kB / 0.9515 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.8579, allocations: 84.14 kB / 0.9516 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.8579, allocations: 1.375 kB / 0.9516 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.8579, allocations: 11.09 kB / 0.9516 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.858, allocations: 320.3 kB / 0.9519 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.858, allocations: 4.125 kB / 0.9519 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.8581, allocations: 12.11 kB / 0.9519 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.456e-05/0.8581, allocations: 14.48 kB / 0.9519 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8582, allocations: 3.938 kB / 0.9519 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.776e-05/0.8583, allocations: 61.95 kB / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8583, allocations: 5.5 kB / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8583, allocations: 3.938 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8583, allocations: 1.375 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.8584, allocations: 6.688 kB / 0.952 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8584, allocations: 0 / 0.952 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.8584, allocations: 5.312 kB / 0.952 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.8585, allocations: 5.359 kB / 0.952 GB, free: 6.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.8585, allocations: 107.2 kB / 0.9521 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.8585, allocations: 5.406 kB / 0.9521 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.8586, allocations: 12.41 kB / 0.9521 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8586, allocations: 0 / 0.9521 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.8586, allocations: 0 / 0.9521 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8586, allocations: 1.5 kB / 0.9521 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.832e-05/0.8586, allocations: 152 kB / 0.9523 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8587, allocations: 0 / 0.9523 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.8587, allocations: 7.453 kB / 0.9523 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.8587, allocations: 0 / 0.9523 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.8587, allocations: 8.906 kB / 0.9523 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.8587, allocations: 0 / 0.9523 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8587, allocations: 5.344 kB / 0.9523 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.8588, allocations: 70.16 kB / 0.9524 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.8589, allocations: 78.42 kB / 0.9524 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.8589, allocations: 7.922 kB / 0.9524 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.8589, allocations: 1.438 kB / 0.9524 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.859, allocations: 1.312 kB / 0.9524 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.859, allocations: 4.031 kB / 0.9524 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.73e-05/0.859, allocations: 80.03 kB / 0.9525 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.859, allocations: 0 / 0.9525 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001954/0.8592, allocations: 10.77 kB / 0.9525 GB, free: 5.617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.8593, allocations: 98.12 kB / 0.9526 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.8595, allocations: 13.11 kB / 0.9526 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8595, allocations: 1.406 kB / 0.9526 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.8595, allocations: 17.59 kB / 0.9527 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.8596, allocations: 1.375 kB / 0.9527 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.8599, allocations: 113.6 kB / 0.9528 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.86, allocations: 0.6771 MB / 0.9534 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.86, allocations: 1.344 kB / 0.9534 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.86, allocations: 11.5 kB / 0.9534 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8601, allocations: 0 / 0.9534 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of Templates: time 0.001987/0.862, allocations: 253.7 kB / 0.9537 GB, free: 4.547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches