Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 103 kB / 16.27 MB, free: 6.414 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.00186/0.00186, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437.1 MB / 0.7111 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 68.05 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002245/0.362, allocations: 0.813 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3636, allocations: 1.157 MB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.3637, allocations: 4 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.3637, allocations: 11.88 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.3638, allocations: 7.875 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.3643, allocations: 144.5 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3645, allocations: 151.7 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3647, allocations: 39.95 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3648, allocations: 59.83 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.3649, allocations: 47.83 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.3649, allocations: 12 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.365, allocations: 35.92 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.3651, allocations: 19.92 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.3652, allocations: 59.83 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3654, allocations: 143.8 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3654, allocations: 0 / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3654, allocations: 0 / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3654, allocations: 3.938 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006775/0.3661, allocations: 435 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3661, allocations: 8.922 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.3662, allocations: 16.84 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3663, allocations: 176.2 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3664, allocations: 8.375 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3664, allocations: 8.375 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3667, allocations: 86.16 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3667, allocations: 192 / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3667, allocations: 7.922 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3667, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.3669, allocations: 67.95 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.3675, allocations: 380.5 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3677, allocations: 54.55 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3678, allocations: 28.94 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3678, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.3681, allocations: 87.36 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3681, allocations: 3.938 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004419/0.3685, allocations: 125.5 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3686, allocations: 51.41 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3687, allocations: 137.6 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3687, allocations: 29.7 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.3688, allocations: 99.98 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3689, allocations: 15.8 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.3689, allocations: 33.7 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3691, allocations: 326.8 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3693, allocations: 51.97 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3694, allocations: 79.33 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.3697, allocations: 120.2 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3697, allocations: 256 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004287/0.3701, allocations: 195.2 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.3702, allocations: 29.7 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3702, allocations: 8.062 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3702, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.3703, allocations: 15.98 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3703, allocations: 4 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3706, allocations: 43.98 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3706, allocations: 11.92 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001078/0.3708, allocations: 121.8 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.3708, allocations: 3.906 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.3708, allocations: 16.38 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3708, allocations: 0 / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3708, allocations: 0 / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3708, allocations: 3.938 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.371, allocations: 189.6 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.371, allocations: 3.984 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3711, allocations: 11.98 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3711, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3711, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3711, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3711, allocations: 7.938 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3714, allocations: 128.9 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.3715, allocations: 81.02 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3715, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.3716, allocations: 11.98 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.3717, allocations: 15.92 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3717, allocations: 11.98 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.3718, allocations: 95.59 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3718, allocations: 0 / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002203/0.372, allocations: 27.98 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001664/0.3722, allocations: 103.2 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.3726, allocations: 175.3 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3726, allocations: 0 / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3727, allocations: 36.11 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3729, allocations: 16.11 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.3734, allocations: 205 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3737, allocations: 0.6963 MB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.3738, allocations: 15.44 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3738, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of Templates: time 0.003388/0.3772, allocations: 1.353 MB / 1.026 GB, free: 1.508 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches