Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001548/0.001548, allocations: 183 kB / 17.34 MB, free: 5.738 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 63.91 kB / 0.9516 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8731, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002081/0.8752, allocations: 0.7695 MB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.8761, allocations: 0.8342 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.8762, allocations: 1.125 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.8762, allocations: 6.266 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.8763, allocations: 17.48 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.8765, allocations: 25.97 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.8766, allocations: 69.97 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.8767, allocations: 21.5 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.8768, allocations: 30.5 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.8769, allocations: 41.11 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.8769, allocations: 10.75 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.877, allocations: 6.188 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.877, allocations: 22.72 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.877, allocations: 24.69 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.8772, allocations: 79.52 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8772, allocations: 0 / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8772, allocations: 0.9375 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8772, allocations: 0 / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005178/0.8777, allocations: 375.8 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8778, allocations: 14 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.8778, allocations: 12.94 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.8779, allocations: 177.1 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.878, allocations: 6.688 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.878, allocations: 6.938 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.8782, allocations: 78.58 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8782, allocations: 1.469 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.8782, allocations: 5.031 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8783, allocations: 1.219 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.8785, allocations: 78 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.879, allocations: 320.7 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.8792, allocations: 84.03 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.8794, allocations: 42.05 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.8794, allocations: 8.438 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.8794, allocations: 31.5 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.8794, allocations: 0 / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004733/0.8799, allocations: 130.1 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.8799, allocations: 56.31 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.88, allocations: 123.5 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.88, allocations: 26.41 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.8801, allocations: 97.23 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.8801, allocations: 19.08 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.8802, allocations: 20.92 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.8802, allocations: 322.7 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.8803, allocations: 26.52 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.8805, allocations: 38.98 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.8807, allocations: 71.41 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8807, allocations: 0 / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000271/0.881, allocations: 102.4 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.881, allocations: 4.938 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.881, allocations: 0.625 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.881, allocations: 5.438 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.8812, allocations: 15.2 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8812, allocations: 5.516 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.8813, allocations: 10.16 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.8813, allocations: 3.234 kB / 1.093 GB, free: 2.301 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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 6.19e-05/0.8813, allocations: 121.5 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.8814, allocations: 6.906 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.8814, allocations: 11.22 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8814, allocations: 4.781 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8814, allocations: 0.7812 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8814, allocations: 0.7969 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8816, allocations: 198 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.8816, allocations: 1.562 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.8817, allocations: 19.8 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8818, allocations: 5.062 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8818, allocations: 0.75 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8818, allocations: 1.844 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8818, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.8821, allocations: 206.9 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.8821, allocations: 83.94 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.8822, allocations: 0.6875 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.8823, allocations: 11.14 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.8823, allocations: 11.97 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.8824, allocations: 6.922 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.8824, allocations: 102.1 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8824, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002464/0.8827, allocations: 14.11 kB / 1.094 GB, free: 1.582 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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.0001371/0.8828, allocations: 98.92 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.8831, allocations: 78.81 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8831, allocations: 0 / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.8833, allocations: 43.47 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.8836, allocations: 7.719 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.884, allocations: 199.3 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.8841, allocations: 0.6873 MB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.8842, allocations: 18.64 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.8842, allocations: 4.812 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of Templates: time 0.00312/0.8873, allocations: 1.047 MB / 1.096 GB, free: 0.5078 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches