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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 192 kB / 16.14 MB, free: 6.719 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4681, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001934/0.47, allocations: 0.8636 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.4713, allocations: 1.175 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.4714, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.4714, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.4715, allocations: 23.78 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.4719, allocations: 119 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.472, allocations: 135.7 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.4721, allocations: 35.91 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.4722, allocations: 55.88 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.4723, allocations: 43.83 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.4724, allocations: 8 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.4724, allocations: 19.98 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.4725, allocations: 19.91 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.4725, allocations: 47.78 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.4727, allocations: 141.9 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.4727, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.42e-07/0.4727, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4727, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 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.000551/0.4733, allocations: 428.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.4733, allocations: 12.03 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.4734, allocations: 34.75 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.4734, allocations: 16.83 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.4735, allocations: 180.2 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4735, allocations: 12.38 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4736, allocations: 8.375 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.4738, allocations: 86.2 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4738, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4738, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4738, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.474, allocations: 59.95 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.4745, allocations: 388.5 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4746, allocations: 54.48 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.4748, allocations: 32.94 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.4748, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.475, allocations: 87.36 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.475, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003875/0.4754, allocations: 129.4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.4754, allocations: 55.41 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.4755, allocations: 133.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4755, allocations: 29.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.4756, allocations: 96.05 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4756, allocations: 19.72 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.4757, allocations: 37.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.4758, allocations: 326.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.4759, allocations: 55.97 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4761, allocations: 79.33 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.4763, allocations: 116.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4764, allocations: 4.031 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003837/0.4767, allocations: 191.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.4768, allocations: 35.27 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4768, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.4768, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.4769, allocations: 7.984 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.4769, allocations: 7.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4771, allocations: 44.02 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4772, allocations: 7.984 kB / 1.022 GB, free: 13.07 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 8.059e-05/0.4772, allocations: 122.3 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.4773, allocations: 3.906 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.4773, allocations: 12.38 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4773, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4773, allocations: 11.92 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4773, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4774, allocations: 185.6 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4775, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.4775, allocations: 11.98 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4775, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4775, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4775, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4776, allocations: 7.875 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4778, allocations: 133.2 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.4778, allocations: 81.02 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.4779, allocations: 8.047 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.4779, allocations: 8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.478, allocations: 19.91 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.478, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.4781, allocations: 91.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4781, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002128/0.4783, allocations: 27.94 kB / 1.023 GB, free: 12.25 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.0004624/0.4787, allocations: 0.6632 MB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.4791, allocations: 175.3 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4791, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4792, allocations: 39.91 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.4794, allocations: 18.17 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4811, allocations: 1.606 MB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.4813, allocations: 0.6926 MB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.4813, allocations: 7.938 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.4814, allocations: 23.42 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4814, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.794/3.276, allocations: 2.5 MB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/3.276, allocations: 226.3 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/5.573, allocations: 1.875 kB / 1.029 GB, free: 6.266 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