Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_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.008119/0.008119, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.00204/0.00204, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.84 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6644, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001699/0.6662, allocations: 0.8194 MB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.6672, allocations: 1.151 MB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.6673, allocations: 1 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.6673, allocations: 9.609 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.6674, allocations: 15.67 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.6678, allocations: 141.7 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.668, allocations: 150.9 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.6681, allocations: 34.58 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.6682, allocations: 53.03 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.6683, allocations: 57.72 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.6683, allocations: 14.84 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.6684, allocations: 31.98 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.6684, allocations: 18.62 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.6685, allocations: 61.92 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.6687, allocations: 141.6 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6687, allocations: 0.6094 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6687, allocations: 0 / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.6688, allocations: 1.094 kB / 1.09 GB, free: 3.57 MB / 0.8575 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.0005033/0.6693, allocations: 433.5 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6693, allocations: 10.25 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.6693, allocations: 41.78 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.6694, allocations: 15.67 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.971e-05/0.6695, allocations: 178.3 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.6695, allocations: 8.688 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.6695, allocations: 8.656 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.6697, allocations: 87.25 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6697, allocations: 3.938 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6698, allocations: 5.688 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.6698, allocations: 2.281 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.67, allocations: 59.22 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.6704, allocations: 383 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.6706, allocations: 58.7 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.6707, allocations: 31.55 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.6707, allocations: 5.656 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.6709, allocations: 81.33 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.6709, allocations: 0 / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004208/0.6714, allocations: 129.8 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.6714, allocations: 61.02 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.6715, allocations: 131.9 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6715, allocations: 28.83 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.6716, allocations: 98.88 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.6716, allocations: 11.94 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.6717, allocations: 38.66 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.6717, allocations: 319.5 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.6719, allocations: 52.31 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.6721, allocations: 85.31 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.6723, allocations: 116.7 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6723, allocations: 4.031 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004197/0.6727, allocations: 191.5 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.6728, allocations: 43.17 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6728, allocations: 0.7812 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6728, allocations: 1.625 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.6729, allocations: 9.047 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6729, allocations: 5.359 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.6731, allocations: 42.73 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.6732, allocations: 11.08 kB / 1.093 GB, free: 1.344 MB / 0.8575 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 6.762e-05/0.6732, allocations: 122.4 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.6733, allocations: 8.672 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.6733, allocations: 8.891 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6733, allocations: 2.016 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6733, allocations: 5.75 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6733, allocations: 4 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.885e-05/0.6734, allocations: 187.3 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6734, allocations: 0.7969 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.6735, allocations: 9.406 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6735, allocations: 96 / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.6735, allocations: 9.484 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6735, allocations: 0 / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6735, allocations: 5.609 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.6738, allocations: 121.4 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.6738, allocations: 83.98 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.6738, allocations: 1.5 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.6739, allocations: 13.86 kB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.674, allocations: 21.34 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.674, allocations: 3.047 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.674, allocations: 91.62 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.674, allocations: 4 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/0.6743, allocations: 26.47 kB / 1.093 GB, free: 0.707 MB / 0.8575 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.0004521/0.6747, allocations: 0.6589 MB / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.6751, allocations: 173.6 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6751, allocations: 0.9688 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.6752, allocations: 39.03 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.6755, allocations: 18.08 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.6774, allocations: 1.596 MB / 1.096 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.6776, allocations: 0.6905 MB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.6776, allocations: 13.02 kB / 1.097 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.6777, allocations: 25.42 kB / 1.097 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.6777, allocations: 0 / 1.097 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.6958, allocations: 2.804 MB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.84, allocations: 8.719 kB / 1.099 GB, free: 13.45 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches