Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 91.61 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.001559/0.001558, 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.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.406 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.449/2.449, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000536/0.0005366, allocations: 12 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8551, allocations: 142.4 MB / 0.9545 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0008156/0.856, allocations: 394.6 kB / 0.9548 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.8568, allocations: 0.7976 MB / 0.9556 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.8568, allocations: 0 / 0.9556 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.8569, allocations: 0 / 0.9556 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.8569, allocations: 5.234 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.8571, allocations: 4.938 kB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.8572, allocations: 19.48 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.8573, allocations: 3.188 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.8573, allocations: 15.09 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.8574, allocations: 10.16 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.8574, allocations: 1.219 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.8574, allocations: 0.9375 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.8574, allocations: 8.875 kB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.8575, allocations: 30.7 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.8575, allocations: 11.38 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8575, allocations: 1.062 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.248e-06/0.8576, allocations: 3.984 kB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8576, allocations: 0 / 0.9557 GB, free: 6.672 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003852/0.858, allocations: 341.9 kB / 0.956 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.858, allocations: 8.5 kB / 0.9561 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.858, allocations: 5.891 kB / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.8581, allocations: 164.2 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.8582, allocations: 1.312 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8582, allocations: 1.188 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.8584, allocations: 56.95 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.8584, allocations: 4.906 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.8584, allocations: 0 / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8584, allocations: 0.8125 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.8586, allocations: 47.89 kB / 0.9563 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.8589, allocations: 252.8 kB / 0.9566 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.859, allocations: 40.72 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.8591, allocations: 30.97 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.8591, allocations: 1 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8592, allocations: 39.52 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8592, allocations: 0 / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.8595, allocations: 103 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8595, allocations: 55.39 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.8596, allocations: 94.67 kB / 0.9569 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.8596, allocations: 26.7 kB / 0.9569 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.8596, allocations: 85.36 kB / 0.957 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.8597, allocations: 13.22 kB / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.8597, allocations: 0 / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.8597, allocations: 316 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.8598, allocations: 21.52 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.8599, allocations: 17.89 kB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.86, allocations: 30.08 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.86, allocations: 1 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.8602, allocations: 78.16 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8602, allocations: 5.031 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8602, allocations: 4 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8602, allocations: 1.062 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.8603, allocations: 16.31 kB / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8603, allocations: 0 / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.8604, allocations: 9.922 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.8604, allocations: 5.156 kB / 0.9575 GB, free: 4.879 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 (2): * Single equations (assignments): 2 * 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 5.745e-05/0.8604, allocations: 116.1 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.8605, allocations: 1.25 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.8607, allocations: 79.16 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8607, allocations: 5.125 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8607, allocations: 3.953 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8607, allocations: 1.281 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.8608, allocations: 160.8 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8608, allocations: 0.9062 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.8609, allocations: 8.375 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8609, allocations: 4.891 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.8609, allocations: 0 / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.8609, allocations: 0.9062 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8609, allocations: 4 kB / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.8611, allocations: 180.5 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.8611, allocations: 78.67 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.8612, allocations: 4.031 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.8612, allocations: 6.094 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.8613, allocations: 6.359 kB / 0.9581 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.8613, allocations: 4 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.8613, allocations: 78.22 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8613, allocations: 1.469 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002077/0.8615, allocations: 6.797 kB / 0.9582 GB, free: 4.141 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 (2): * Single equations (assignments): 2 * 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.0001142/0.8616, allocations: 105.7 kB / 0.9583 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.8618, allocations: 46.23 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8618, allocations: 0 / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.8619, allocations: 32.36 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.8622, allocations: 7.359 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.8625, allocations: 103.6 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.8626, allocations: 0.6774 MB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.8627, allocations: 4.062 kB / 0.9592 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.8627, allocations: 8.844 kB / 0.9592 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.8627, allocations: 0 / 0.9592 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.002595/0.8653, allocations: 364 kB / 0.9595 GB, free: 2.996 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches