Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001153/0.001153, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.34 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001997/0.3603, allocations: 0.73 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.3612, allocations: 0.804 MB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.3613, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.3613, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.3614, allocations: 7.938 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.3616, allocations: 7.984 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.3617, allocations: 16 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3618, allocations: 4 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.3619, allocations: 23.84 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.3619, allocations: 7.984 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.362, allocations: 4 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.362, allocations: 0 / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.362, allocations: 7.938 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3621, allocations: 4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.3622, allocations: 23.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3622, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3622, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3622, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 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.0004831/0.3627, allocations: 331.8 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3627, allocations: 16.03 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.3628, allocations: 4.844 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3629, allocations: 172.3 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3629, allocations: 384 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3629, allocations: 384 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3631, allocations: 50.23 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3631, allocations: 192 / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3631, allocations: 3.938 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3632, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3633, allocations: 43.84 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.3637, allocations: 249 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3638, allocations: 38.44 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.3639, allocations: 24.91 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3639, allocations: 4 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.364, allocations: 38.48 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.364, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.3643, allocations: 77.66 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3644, allocations: 51.53 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.3645, allocations: 105.8 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3645, allocations: 25.7 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.3645, allocations: 84.12 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.3645, allocations: 7.906 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.3646, allocations: 17.7 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3647, allocations: 310.8 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.3648, allocations: 15.98 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.3649, allocations: 19.98 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.365, allocations: 44.75 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.365, allocations: 0 / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.3652, allocations: 69.52 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3653, allocations: 4.094 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3653, allocations: 7.984 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3653, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3654, allocations: 8 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3654, allocations: 0 / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.3655, allocations: 7.984 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3655, allocations: 0 / 1.055 GB, free: 5.16 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.3656, allocations: 113.8 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.3656, allocations: 4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.3659, allocations: 76.91 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3659, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.3659, allocations: 7.969 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3659, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3661, allocations: 157.6 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3661, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.3662, allocations: 7.984 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.3662, allocations: 4.031 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3662, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3662, allocations: 7.938 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3662, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3665, allocations: 163.4 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.3665, allocations: 81.11 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3666, allocations: 7.969 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.3667, allocations: 11.98 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3667, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3667, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.3668, allocations: 83.27 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3668, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002119/0.367, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 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 (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.0002189/0.3672, allocations: 95.25 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3675, allocations: 43.97 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3675, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.3676, allocations: 23.91 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3679, allocations: 8.969 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.3683, allocations: 119.3 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3686, allocations: 0.6731 MB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.3687, allocations: 3.984 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3687, allocations: 11.44 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of SimCode: time 3.055e-06/0.3687, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of Templates: time 0.002598/0.3713, allocations: 375 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches