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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_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.001524/0.001525, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.476/2.476, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5591, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002131/0.5612, allocations: 0.8085 MB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.5627, allocations: 1.155 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.5628, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.5628, allocations: 7.875 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.5629, allocations: 23.8 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.5634, allocations: 132.9 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.5636, allocations: 155.8 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.5637, allocations: 35.97 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.5639, allocations: 59.83 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.564, allocations: 51.81 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.564, allocations: 16 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.5641, allocations: 27.98 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.5641, allocations: 19.92 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.012e-05/0.5642, allocations: 51.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.5644, allocations: 145.7 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5644, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5645, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5645, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 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.000605/0.5651, allocations: 436.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5651, allocations: 12.03 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.5652, allocations: 38.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.5652, allocations: 12.84 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.5653, allocations: 172.2 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.5653, allocations: 4.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.5654, allocations: 16.36 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.5656, allocations: 91.84 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5656, allocations: 7.875 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5656, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5657, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.5659, allocations: 55.95 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.5664, allocations: 384.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.5666, allocations: 58.53 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.5667, allocations: 32.92 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.5667, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.5669, allocations: 83.38 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.5669, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004348/0.5674, allocations: 133.5 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.5674, allocations: 55.39 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.5675, allocations: 133.7 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.5676, allocations: 33.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.5676, allocations: 100 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.5677, allocations: 15.75 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.5677, allocations: 41.62 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.5678, allocations: 318.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.568, allocations: 51.95 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.5682, allocations: 79.39 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.5684, allocations: 120.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5684, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003992/0.5688, allocations: 199.3 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.5689, allocations: 37.69 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5689, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5689, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.569, allocations: 11.92 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.569, allocations: 7.938 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.5692, allocations: 35.95 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.5693, allocations: 8.062 kB / 1.023 GB, free: 12.82 MB / 0.7794 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 9.796e-05/0.5694, allocations: 121.8 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.5694, allocations: 7.891 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.5694, allocations: 12.38 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5694, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5695, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5695, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.5696, allocations: 185.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5696, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.5697, allocations: 15.98 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5697, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.5697, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5697, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5697, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.57, allocations: 129.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.57, allocations: 85.02 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.57, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.5701, allocations: 15.98 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.5702, allocations: 15.92 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5702, allocations: 4.094 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.5702, allocations: 99.14 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5702, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002225/0.5705, allocations: 27.94 kB / 1.023 GB, free: 12 MB / 0.7794 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.000514/0.571, allocations: 0.667 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.5714, allocations: 167.3 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5714, allocations: 4.125 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5715, allocations: 35.97 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.5717, allocations: 19.92 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.5735, allocations: 1.584 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.5738, allocations: 0.6924 MB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.5738, allocations: 4 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.5739, allocations: 23.42 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5739, allocations: 0 / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.5941, allocations: 2.776 MB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.546, allocations: 16.53 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/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