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.001064/0.001065, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007159/0.007159, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.566/1.566, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.5/2.5, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006119/0.000612, allocations: 20 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9693/0.9699, allocations: 142.4 MB / 0.9551 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001294/0.9713, allocations: 491.5 kB / 0.9555 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.9724, allocations: 0.8348 MB / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.9725, allocations: 1.438 kB / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.9725, allocations: 0 / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.9727, allocations: 7.922 kB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.9728, allocations: 25.62 kB / 0.9564 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.9729, allocations: 71.52 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.9731, allocations: 16.59 kB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.9732, allocations: 28.53 kB / 0.9565 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.9733, allocations: 34.14 kB / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.9733, allocations: 2.406 kB / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.9733, allocations: 3.531 kB / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.9733, allocations: 17.23 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.9734, allocations: 58.5 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.9735, allocations: 67.17 kB / 0.9567 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9735, allocations: 0.5938 kB / 0.9567 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9735, allocations: 0 / 0.9567 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9735, allocations: 1.062 kB / 0.9567 GB, free: 6.531 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.0005417/0.9741, allocations: 364.6 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9741, allocations: 13.97 kB / 0.957 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.9742, allocations: 8.312 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9743, allocations: 185 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.9744, allocations: 6.688 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.9744, allocations: 3.594 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.9746, allocations: 83.92 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9747, allocations: 192 / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.9747, allocations: 13.66 kB / 0.9573 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9747, allocations: 0 / 0.9573 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.9749, allocations: 77.12 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.9754, allocations: 334.1 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.9756, allocations: 89.72 kB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.9757, allocations: 42.47 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.9758, allocations: 1.188 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.9758, allocations: 39.92 kB / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.9758, allocations: 0 / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.00049/0.9763, allocations: 152.5 kB / 0.958 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.9763, allocations: 53.19 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.9764, allocations: 120.9 kB / 0.9582 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.9764, allocations: 27.05 kB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.9765, allocations: 94.55 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.9765, allocations: 18.3 kB / 0.9583 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.9765, allocations: 15.09 kB / 0.9583 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.9766, allocations: 320 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.9767, allocations: 37.41 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.9768, allocations: 42.11 kB / 0.9587 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.9771, allocations: 83.38 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9771, allocations: 0 / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002652/0.9773, allocations: 120.3 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9774, allocations: 7.094 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9774, allocations: 0 / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.9774, allocations: 1.312 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.9775, allocations: 18.52 kB / 0.9589 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.9776, allocations: 0 / 0.9589 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.9776, allocations: 10.45 kB / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.9777, allocations: 0.875 kB / 0.9589 GB, free: 4.449 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.9777, allocations: 133 kB / 0.9591 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.9778, allocations: 3.406 kB / 0.9591 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.9778, allocations: 13.5 kB / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9778, allocations: 1.281 kB / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9778, allocations: 112 / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.9778, allocations: 3.938 kB / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.978, allocations: 199 kB / 0.9593 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.978, allocations: 0 / 0.9593 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.9781, allocations: 25.03 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9781, allocations: 1.188 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.9781, allocations: 1.094 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9781, allocations: 0 / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9781, allocations: 1.75 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.9785, allocations: 211.2 kB / 0.9595 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.9785, allocations: 82.64 kB / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.9785, allocations: 4.062 kB / 0.9596 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.9786, allocations: 10.83 kB / 0.9596 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.9787, allocations: 15.73 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.9787, allocations: 6.578 kB / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.9788, allocations: 101.5 kB / 0.9597 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9788, allocations: 0 / 0.9597 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002194/0.979, allocations: 10.12 kB / 0.9597 GB, free: 3.676 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 (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.0001383/0.9791, allocations: 97.88 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.9794, allocations: 89.03 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9794, allocations: 0 / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.9796, allocations: 52.91 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.9799, allocations: 3.109 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.9803, allocations: 193.1 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.9804, allocations: 0.693 MB / 0.9608 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.9805, allocations: 7.969 kB / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.9806, allocations: 15.45 kB / 0.9608 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.9806, allocations: 0 / 0.9608 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.003469/0.984, allocations: 1.072 MB / 0.9619 GB, free: 2.082 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