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.001338/0.001338, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001324, allocations: 191.3 kB / 16.25 MB, free: 6.598 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.399/2.399, allocations: 437.1 MB / 0.7101 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 0.8689 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5425, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002191/0.5447, allocations: 0.8714 MB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.5461, allocations: 1.155 MB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.5462, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.5462, allocations: 11.86 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.5463, allocations: 7.922 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.5468, allocations: 127.7 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.547, allocations: 143.8 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.5471, allocations: 43.95 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.5472, allocations: 51.84 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.5473, allocations: 59.8 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.5473, allocations: 12 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.5474, allocations: 27.98 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.5475, allocations: 19.92 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.5475, allocations: 51.84 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.5477, allocations: 149.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.5478, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5478, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5478, allocations: 0 / 1.02 GB, free: 15.91 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.0005983/0.5484, allocations: 440.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5484, allocations: 8.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.5485, allocations: 42.73 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.5485, allocations: 8.844 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5486, allocations: 176.2 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5487, allocations: 8.375 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5487, allocations: 12.36 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.5489, allocations: 86.22 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5489, allocations: 7.875 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.549, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.549, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.5492, allocations: 59.95 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.5497, allocations: 376.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.5499, allocations: 54.55 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.55, allocations: 32.91 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.55, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.5502, allocations: 87.38 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5502, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003918/0.5506, allocations: 125.5 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5507, allocations: 59.39 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.5508, allocations: 125.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.5508, allocations: 33.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.5509, allocations: 104 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.5509, allocations: 27.62 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.551, allocations: 37.69 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.5511, allocations: 314.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.5512, allocations: 55.95 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.5514, allocations: 79.41 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.5517, allocations: 120.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5517, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004035/0.5521, allocations: 191.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.5521, allocations: 37.69 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5521, allocations: 320 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.5522, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.5522, allocations: 19.92 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5523, allocations: 8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.5525, allocations: 39.95 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.5525, allocations: 8.062 kB / 1.022 GB, free: 12.89 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.193e-05/0.5526, allocations: 118.4 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.5526, allocations: 11.89 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.5527, allocations: 8.375 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5527, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5527, allocations: 3.938 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5527, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.5528, allocations: 189.6 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5529, allocations: 8 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.5529, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5529, allocations: 3.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5529, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5529, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.553, allocations: 7.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.5532, allocations: 124.9 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.5533, allocations: 85.02 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.5533, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.5534, allocations: 11.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.5534, allocations: 11.92 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.5534, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.5535, allocations: 99.2 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5535, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002229/0.5537, allocations: 32.16 kB / 1.023 GB, free: 12.07 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.0005118/0.5542, allocations: 0.6708 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.5546, allocations: 167.5 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5546, allocations: 4.062 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.5547, allocations: 44.09 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5549, allocations: 11.92 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5567, allocations: 1.606 MB / 1.025 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.557, allocations: 0.6924 MB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.557, allocations: 4 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.5571, allocations: 27.42 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5571, allocations: 0 / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.414/2.971, allocations: 2.583 MB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/2.971, allocations: 228.4 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/4.717, allocations: 3.938 kB / 1.029 GB, free: 6.012 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.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