Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001933/0.001933, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7609, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002174/0.7631, allocations: 0.7393 MB / 1.018 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.7642, allocations: 0.8001 MB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.7642, allocations: 4 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.7643, allocations: 0 / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.7644, allocations: 11.92 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.7646, allocations: 3.984 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.7647, allocations: 20 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.7648, allocations: 7.984 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.7649, allocations: 15.88 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.765, allocations: 11.98 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.765, allocations: 4 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.765, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.7651, allocations: 7.938 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.7651, allocations: 7.984 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.7652, allocations: 23.91 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7652, allocations: 4 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7652, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.7652, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000542/0.7658, allocations: 333.4 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.7658, allocations: 16.02 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.7659, allocations: 0.9375 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.7661, allocations: 168.3 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.7661, allocations: 4.375 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.7661, allocations: 384 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.7663, allocations: 50.23 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7664, allocations: 192 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.7664, allocations: 7.938 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7664, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.7666, allocations: 39.89 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.767, allocations: 241 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7671, allocations: 42.5 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.7672, allocations: 16.91 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.7672, allocations: 7.984 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.7673, allocations: 42.44 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7673, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.7677, allocations: 81.73 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.7677, allocations: 55.34 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.7678, allocations: 101.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.7679, allocations: 25.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.7679, allocations: 84.08 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.7679, allocations: 15.89 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.768, allocations: 9.719 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7681, allocations: 310.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.7682, allocations: 24.02 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.7683, allocations: 11.98 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.7685, allocations: 44.75 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7685, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.7687, allocations: 77.66 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7687, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7687, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7687, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.7688, allocations: 8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7688, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.7689, allocations: 7.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.7689, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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 9.095e-05/0.769, allocations: 114.3 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.769, allocations: 7.906 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.7693, allocations: 76.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7693, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7693, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7693, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.7695, allocations: 157.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7695, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.7696, allocations: 16.02 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7696, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7696, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7696, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7696, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.7699, allocations: 167.4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.77, allocations: 89.08 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.77, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.7701, allocations: 7.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.7701, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.7701, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.7702, allocations: 87.27 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7702, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002132/0.7704, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001785/0.7706, allocations: 103.2 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.7708, allocations: 35.91 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7708, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.7709, allocations: 27.91 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.7713, allocations: 5.906 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.7716, allocations: 118.2 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.772, allocations: 0.6768 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.772, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.772, allocations: 11.44 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7721, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.002481/0.7745, allocations: 373 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches