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.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.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.0007742/0.0007742, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004666/0.004666, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.407/2.407, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5346, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001599/0.5362, allocations: 1.309 MB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.5375, allocations: 0.7714 MB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.5376, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.5376, allocations: 3.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.002e-05/0.5377, allocations: 23.84 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.5382, allocations: 123.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.5384, allocations: 131.5 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.5384, allocations: 12 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.5386, allocations: 55.83 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.5387, allocations: 63.78 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.5387, allocations: 8 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.5389, allocations: 95.84 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.5389, allocations: 23.91 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.539, allocations: 81.39 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.5393, allocations: 177.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5393, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5393, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5393, allocations: 4 kB / 1.026 GB, free: 12.98 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.0006458/0.5399, allocations: 474.5 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.54, allocations: 8.031 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.54, allocations: 38.75 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.5401, allocations: 8.844 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5402, allocations: 191.5 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.5402, allocations: 12.31 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.5403, allocations: 11.94 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.5405, allocations: 97.56 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.5405, allocations: 3.938 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.5406, allocations: 8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5406, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.5408, allocations: 75.95 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/0.5416, allocations: 380.6 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.5418, allocations: 70.55 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5419, allocations: 56.83 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.542, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.5422, allocations: 107.3 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/0.5422, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005736/0.5428, allocations: 229.3 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5429, allocations: 63.34 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.543, allocations: 137.8 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.543, allocations: 33.7 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.5431, allocations: 100.5 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.5431, allocations: 27.7 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.5431, allocations: 18.09 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.5432, allocations: 322.8 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.5434, allocations: 43.97 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.5435, allocations: 80.27 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.5438, allocations: 128.1 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5438, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003475/0.5441, allocations: 165.5 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5442, allocations: 8 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5442, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5442, allocations: 4 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5443, allocations: 19.92 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5444, allocations: 11.92 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.5445, allocations: 20.02 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.5445, allocations: 11.94 kB / 1.029 GB, free: 9.793 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 9.128e-05/0.5446, allocations: 128.1 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.5446, allocations: 7.906 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.5447, allocations: 12.75 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5447, allocations: 7.938 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5447, allocations: 0 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5447, allocations: 0 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.5453, allocations: 466.4 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5453, allocations: 0 / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.79e-05/0.5454, allocations: 19.92 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5454, allocations: 3.938 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5454, allocations: 3.984 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5454, allocations: 4 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5454, allocations: 4 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.5458, allocations: 275.2 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.5459, allocations: 88.89 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.5459, allocations: 11.98 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.546, allocations: 4 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.5461, allocations: 11.98 kB / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.5461, allocations: 4.188 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.5462, allocations: 109.3 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5462, allocations: 3.938 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000304/0.5465, allocations: 44 kB / 1.03 GB, free: 8.508 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.0008776/0.5474, allocations: 0.8617 MB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.5477, allocations: 115.9 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5477, allocations: 4.188 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.5479, allocations: 63.91 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.5482, allocations: 20.2 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.5501, allocations: 1.77 MB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.5503, allocations: 0.7014 MB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.395e-05/0.5504, allocations: 8.078 kB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.5505, allocations: 31.42 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5505, allocations: 0 / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.5626, allocations: 3.017 MB / 1.036 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.5628, allocations: 270.7 kB / 1.037 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.195, allocations: 1.562 kB / 1.037 GB, free: 1.598 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