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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008899/0.00089, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001006/0.001007, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004427, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8504/0.8508, allocations: 142.4 MB / 0.9545 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001491/0.8524, allocations: 474.2 kB / 0.9549 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.8545, allocations: 0.8293 MB / 0.9557 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.8547, allocations: 5.156 kB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.8548, allocations: 3.938 kB / 0.9557 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.855, allocations: 12.95 kB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.8553, allocations: 21.02 kB / 0.9558 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.8555, allocations: 62.14 kB / 0.9558 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.8557, allocations: 15.36 kB / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8559, allocations: 30.03 kB / 0.9559 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.856, allocations: 29.22 kB / 0.9559 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.856, allocations: 2.562 kB / 0.9559 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.8561, allocations: 2.469 kB / 0.9559 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.8561, allocations: 14.42 kB / 0.9559 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.8562, allocations: 32.83 kB / 0.9559 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.8563, allocations: 53.02 kB / 0.956 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8563, allocations: 5.062 kB / 0.956 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8563, allocations: 0 / 0.956 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.8564, allocations: 0 / 0.956 GB, free: 6.559 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007541/0.8571, allocations: 374 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.118e-05/0.8572, allocations: 10.16 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.8573, allocations: 10.52 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.8575, allocations: 171.9 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.8576, allocations: 3.188 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.8576, allocations: 2.312 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.8579, allocations: 94.8 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8579, allocations: 0 / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.8579, allocations: 1.281 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.858, allocations: 5.125 kB / 0.9566 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.8582, allocations: 88.64 kB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.8588, allocations: 318.2 kB / 0.957 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.859, allocations: 92.47 kB / 0.9571 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.8592, allocations: 50.77 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.8592, allocations: 1.062 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.8592, allocations: 35.52 kB / 0.9572 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.8592, allocations: 0 / 0.9572 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004703/0.8597, allocations: 153.2 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.8597, allocations: 51.41 kB / 0.9574 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.8598, allocations: 117.6 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.8598, allocations: 29.7 kB / 0.9575 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.8599, allocations: 103.7 kB / 0.9576 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.8599, allocations: 14 kB / 0.9576 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.8599, allocations: 0 / 0.9576 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.86, allocations: 316.9 kB / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.8601, allocations: 36.86 kB / 0.958 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.8602, allocations: 41.03 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.8604, allocations: 37 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8604, allocations: 0 / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002512/0.8606, allocations: 114.9 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8606, allocations: 9.047 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8607, allocations: 1.188 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.8607, allocations: 3.984 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.8608, allocations: 18.3 kB / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.8609, allocations: 1.578 kB / 0.9582 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.8609, allocations: 21.83 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.861, allocations: 5.438 kB / 0.9582 GB, free: 4.508 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.861, allocations: 116.3 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.8611, allocations: 7.562 kB / 0.9583 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.8611, allocations: 17.8 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8611, allocations: 5.484 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8611, allocations: 0 / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.8611, allocations: 0 / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.8613, allocations: 194.1 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8613, allocations: 0 / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.8614, allocations: 26.77 kB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8614, allocations: 0 / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8615, allocations: 1.125 kB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8615, allocations: 3.953 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8615, allocations: 4.984 kB / 0.9586 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.8618, allocations: 215.9 kB / 0.9588 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.8618, allocations: 82.73 kB / 0.9589 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.8618, allocations: 0 / 0.9589 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.8619, allocations: 9.578 kB / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.862, allocations: 17.34 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.862, allocations: 1.875 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.8621, allocations: 100.2 kB / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8621, allocations: 1.812 kB / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002334/0.8623, allocations: 8.938 kB / 0.959 GB, free: 3.742 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001468/0.8625, allocations: 101.8 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.8628, allocations: 85 kB / 0.9592 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8628, allocations: 0 / 0.9592 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.8629, allocations: 48.78 kB / 0.9592 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.8633, allocations: 12.11 kB / 0.9592 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.8638, allocations: 188.4 kB / 0.9594 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.864, allocations: 0.6891 MB / 0.9601 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.095e-05/0.864, allocations: 8.312 kB / 0.9601 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.8641, allocations: 15.55 kB / 0.9601 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8641, allocations: 0 / 0.9601 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of Templates: time 0.003659/0.8678, allocations: 1.046 MB / 0.9611 GB, free: 2.164 MB / 0.7169 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/jenkins/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