Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001063/0.001063, 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.0009796/0.0009796, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.262/1.262, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.359/2.359, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.09 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4674, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002351/0.4698, allocations: 1.647 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.4708, allocations: 0.7791 MB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.4709, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.4709, allocations: 7.922 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.471, allocations: 23.8 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.4715, allocations: 127.7 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.4716, allocations: 143.5 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.4717, allocations: 12 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.4718, allocations: 63.81 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.4719, allocations: 67.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4719, allocations: 12 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.4721, allocations: 103.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.4722, allocations: 35.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.4722, allocations: 51.72 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.4724, allocations: 197.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4725, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4725, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4725, allocations: 0 / 1.02 GB, free: 15.42 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006454/0.4731, allocations: 482.5 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.4732, allocations: 8.031 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.4732, allocations: 38.75 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.4732, allocations: 12.75 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.4734, allocations: 181.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4734, allocations: 8.312 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4734, allocations: 11.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.4736, allocations: 101.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4737, allocations: 3.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.4737, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4737, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.4739, allocations: 59.95 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.4747, allocations: 376.5 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4748, allocations: 70.48 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.475, allocations: 56.81 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.475, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.4752, allocations: 103.3 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4752, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005151/0.4757, allocations: 213.4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.4758, allocations: 63.34 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4759, allocations: 152.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.4759, allocations: 33.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.476, allocations: 92.38 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.476, allocations: 23.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.476, allocations: 29.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.4761, allocations: 322.8 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.4762, allocations: 39.97 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4764, allocations: 76.27 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4766, allocations: 104.2 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4766, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003151/0.4769, allocations: 161.4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.477, allocations: 8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.477, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.477, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4771, allocations: 20.03 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4771, allocations: 7.875 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4773, allocations: 23.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4773, allocations: 8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.332e-05/0.4774, allocations: 119.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.4774, allocations: 11.89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.4774, allocations: 8.719 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4774, allocations: 7.938 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4774, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4775, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.478, allocations: 458.5 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.478, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.4781, allocations: 15.92 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4781, allocations: 0 / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4781, allocations: 7.938 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4781, allocations: 0 / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4781, allocations: 4.453 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.4785, allocations: 271.3 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.4786, allocations: 92.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.4786, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.4787, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4788, allocations: 11.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4788, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.4789, allocations: 113.3 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4789, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002858/0.4792, allocations: 44 kB / 1.024 GB, free: 11.04 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00079/0.48, allocations: 0.865 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.4803, allocations: 111.8 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4803, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.4804, allocations: 64.09 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4807, allocations: 15.92 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.4824, allocations: 1.728 MB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.4826, allocations: 0.7002 MB / 1.027 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.525e-05/0.4827, allocations: 7.938 kB / 1.027 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.4828, allocations: 31.42 kB / 1.027 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4828, allocations: 0 / 1.027 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/0.5215, allocations: 3.205 MB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.5217, allocations: 266.5 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.078, allocations: 64 / 1.031 GB, free: 3.996 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches