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.005047/0.005047, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001336/0.001336, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.278/2.278, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 67.89 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5969, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002302/0.5992, allocations: 1.59 MB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.6004, allocations: 0.7867 MB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.6004, allocations: 0 / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.6005, allocations: 11.86 kB / 1.169 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.6005, allocations: 15.81 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.601, allocations: 151.5 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.6012, allocations: 131.6 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.115e-05/0.6012, allocations: 19.98 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.6013, allocations: 67.81 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.6015, allocations: 71.72 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.6015, allocations: 12 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.6017, allocations: 99.91 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.6017, allocations: 27.91 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.6018, allocations: 59.7 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.602, allocations: 195 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.602, allocations: 4 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.032e-06/0.602, allocations: 0 / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.602, allocations: 3.984 kB / 1.169 GB, free: 0.5508 MB / 0.8887 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.0006637/0.6027, allocations: 486.1 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.6028, allocations: 8.922 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.6028, allocations: 38.75 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.6028, allocations: 8.891 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.603, allocations: 189.9 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.603, allocations: 8.375 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.603, allocations: 15.88 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.6033, allocations: 93.56 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6033, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6033, allocations: 3.984 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.6033, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.6035, allocations: 59.95 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.6042, allocations: 368.7 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.6044, allocations: 78.42 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.6045, allocations: 48.83 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.6046, allocations: 4 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.6048, allocations: 107.3 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.6048, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.000511/0.6053, allocations: 209.5 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.6053, allocations: 63.34 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.6055, allocations: 147.4 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.6055, allocations: 29.7 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.6056, allocations: 104.5 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.6056, allocations: 23.83 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.6056, allocations: 29.7 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6058, allocations: 322.8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.6059, allocations: 43.97 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.606, allocations: 73.64 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.6062, allocations: 108.2 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6063, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003267/0.6066, allocations: 161.4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.6066, allocations: 4 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.6066, allocations: 0 / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6066, allocations: 4 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6068, allocations: 28.12 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6068, allocations: 3.938 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.6069, allocations: 23.94 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.6069, allocations: 7.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 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.195e-05/0.607, allocations: 124.1 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.607, allocations: 11.94 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.607, allocations: 8.719 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6071, allocations: 8.312 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6071, allocations: 4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6071, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.6076, allocations: 458.3 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6076, allocations: 0 / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.6077, allocations: 11.92 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6077, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.6077, allocations: 4 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6077, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6078, allocations: 3.938 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.6081, allocations: 267.4 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.6082, allocations: 85 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.6082, allocations: 8 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6083, allocations: 7.984 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.6084, allocations: 15.92 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.6084, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.6085, allocations: 108.9 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6085, allocations: 0 / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002633/0.6087, allocations: 47.88 kB / 1.173 GB, free: 12.18 MB / 0.9044 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.0008406/0.6096, allocations: 0.8728 MB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.6099, allocations: 107.9 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6099, allocations: 192 / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.61, allocations: 67.84 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.6103, allocations: 15.97 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.6121, allocations: 1.714 MB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6124, allocations: 0.7079 MB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.6124, allocations: 4 kB / 1.177 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.6125, allocations: 31.42 kB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.6125, allocations: 0 / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.8/8.413, allocations: 3.39 MB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/26.14, allocations: 23.58 kB / 1.18 GB, free: 5.25 MB / 0.9044 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=400 --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