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.001919/0.001919, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001323/0.001323, allocations: 191 kB / 17.29 MB, free: 5.516 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 69.03 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3583, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002411/0.3608, allocations: 0.7619 MB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.362, allocations: 0.8372 MB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.3621, allocations: 3.938 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.863e-05/0.3622, allocations: 7.922 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.983e-05/0.3623, allocations: 11.94 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3625, allocations: 27.91 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3626, allocations: 75.77 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3628, allocations: 19.97 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.3629, allocations: 27.92 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.363, allocations: 39.83 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.363, allocations: 12 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.3631, allocations: 8 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.3631, allocations: 15.92 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3632, allocations: 39.72 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3633, allocations: 75.75 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3633, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3634, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3634, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 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.0006857/0.3641, allocations: 379.2 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3641, allocations: 8.031 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3642, allocations: 8.844 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3644, allocations: 180.2 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3644, allocations: 8.375 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3644, allocations: 4.375 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3647, allocations: 86.08 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3647, allocations: 192 / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.3647, allocations: 7.938 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3648, allocations: 4 kB / 0.9537 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.365, allocations: 63.94 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.3656, allocations: 324.7 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3659, allocations: 82.53 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.366, allocations: 40.92 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.366, allocations: 4 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3661, allocations: 34.56 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3661, allocations: 0 / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004892/0.3666, allocations: 141.5 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3666, allocations: 55.41 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3668, allocations: 117.8 kB / 0.9545 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3668, allocations: 25.7 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.3669, allocations: 100 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.3669, allocations: 19.73 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.367, allocations: 21.7 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3671, allocations: 322.8 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3672, allocations: 31.98 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.3673, allocations: 27.97 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3676, allocations: 72.92 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3676, allocations: 3.938 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003859/0.368, allocations: 105.5 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.368, allocations: 7.938 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.368, allocations: 4 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.368, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3682, allocations: 15.98 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3682, allocations: 3.984 kB / 0.9553 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.3683, allocations: 7.984 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3683, allocations: 4 kB / 0.9553 GB, free: 3.559 MB / 0.7325 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 0.0001014/0.3684, allocations: 123.7 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3684, allocations: 3.906 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.3685, allocations: 16.38 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3685, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3685, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3685, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.3688, allocations: 193.6 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3688, allocations: 0 / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3689, allocations: 24.34 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3689, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3689, allocations: 4 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3689, allocations: 4 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3689, allocations: 0 / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3693, allocations: 203.3 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3693, allocations: 85.02 kB / 0.9559 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3693, allocations: 4 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3695, allocations: 7.984 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.3695, allocations: 11.98 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3695, allocations: 4 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001/0.3696, allocations: 95.7 kB / 0.956 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3697, allocations: 0 / 0.956 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002301/0.3699, allocations: 19.94 kB / 0.956 GB, free: 2.68 MB / 0.7325 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.0001709/0.3701, allocations: 103.2 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3704, allocations: 75.88 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3704, allocations: 3.938 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3705, allocations: 47.91 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3708, allocations: 9.359 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.3713, allocations: 168.5 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3716, allocations: 0.6922 MB / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.3716, allocations: 8 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.3717, allocations: 19.42 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3717, allocations: 0 / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.003794/0.3755, allocations: 1.229 MB / 0.9583 GB, free: 284 kB / 0.7325 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 -s cvode -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