Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007689/0.007689, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001813/0.001813, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.09 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.274, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002275/0.2763, allocations: 0.806 MB / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.278, allocations: 1.163 MB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.2781, allocations: 0 / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.875e-05/0.2782, allocations: 11.88 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2783, allocations: 15.86 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.2788, allocations: 137.4 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.2791, allocations: 147.8 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2792, allocations: 35.94 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2793, allocations: 59.78 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2795, allocations: 55.8 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.2795, allocations: 16 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.2796, allocations: 27.98 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.2797, allocations: 23.92 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.2797, allocations: 51.83 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.28, allocations: 155.8 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.28, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.28, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.28, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 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.0007085/0.2807, allocations: 432.9 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2808, allocations: 8.625 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.2808, allocations: 42.73 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.2809, allocations: 12.84 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.281, allocations: 176.2 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2811, allocations: 8.375 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.2811, allocations: 8.375 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.2814, allocations: 88.83 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2814, allocations: 3.938 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2814, allocations: 0 / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2814, allocations: 4 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.2816, allocations: 67.89 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.2822, allocations: 392.3 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.2824, allocations: 54.48 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.2825, allocations: 32.94 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.2826, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.2828, allocations: 87.36 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2828, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004315/0.2833, allocations: 125.6 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2833, allocations: 55.41 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2835, allocations: 133.7 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2835, allocations: 25.7 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2836, allocations: 104 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2836, allocations: 11.81 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.2837, allocations: 33.7 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2838, allocations: 322.8 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.284, allocations: 51.97 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2842, allocations: 79.39 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.2844, allocations: 116.2 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2844, allocations: 4.031 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004094/0.2848, allocations: 191.2 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.2849, allocations: 33.7 kB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2849, allocations: 4 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2849, allocations: 3.984 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.285, allocations: 4 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.285, allocations: 11.88 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.2853, allocations: 43.92 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2853, allocations: 11.98 kB / 1.213 GB, free: 4.426 MB / 0.9669 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.0001079/0.2854, allocations: 121.8 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.2854, allocations: 3.906 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.2855, allocations: 12.38 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2855, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2855, allocations: 8.031 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2855, allocations: 7.922 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2857, allocations: 185.6 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2857, allocations: 3.938 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.2858, allocations: 11.98 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2858, allocations: 0 / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.2858, allocations: 0 / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2858, allocations: 0 / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2858, allocations: 3.938 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2861, allocations: 133.3 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.2861, allocations: 81.02 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2861, allocations: 3.984 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.2862, allocations: 8 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2863, allocations: 19.91 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.2863, allocations: 4 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.2864, allocations: 95.7 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2864, allocations: 0 / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002239/0.2866, allocations: 27.91 kB / 1.213 GB, free: 3.609 MB / 0.9669 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.0005792/0.2872, allocations: 0.6593 MB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.2876, allocations: 171.3 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2876, allocations: 0 / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2877, allocations: 31.92 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.2879, allocations: 24.25 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2899, allocations: 1.603 MB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2902, allocations: 0.6963 MB / 1.216 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.2902, allocations: 7.938 kB / 1.216 GB, free: 264 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.2903, allocations: 23.42 kB / 1.216 GB, free: 240 kB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.2903, allocations: 0 / 1.216 GB, free: 240 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.3109, allocations: 2.862 MB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.169, allocations: 0 / 1.219 GB, free: 13.53 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches