Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 196.6 kB / 16.53 MB, free: 6.391 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.468/2.468, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.09 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2419, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002571/0.2445, allocations: 1.6 MB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2457, allocations: 0.791 MB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.2458, allocations: 3.938 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.2458, allocations: 3.938 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.2459, allocations: 23.78 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.2465, allocations: 151.5 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2466, allocations: 131.6 kB / 1.056 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.2467, allocations: 16 kB / 1.056 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2468, allocations: 63.81 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.2469, allocations: 67.78 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.247, allocations: 12 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.2472, allocations: 111.8 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.2472, allocations: 23.97 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.2473, allocations: 59.7 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.2475, allocations: 195.7 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2475, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2475, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2475, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 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.00065/0.2482, allocations: 474.4 kB / 1.057 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2482, allocations: 12.62 kB / 1.057 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.2483, allocations: 38.75 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.2483, allocations: 8.844 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2484, allocations: 196.5 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2485, allocations: 4.375 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2485, allocations: 11.94 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.2487, allocations: 93.56 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2487, allocations: 3.984 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.2488, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2488, allocations: 11.98 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.249, allocations: 59.89 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.2497, allocations: 364.7 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.2499, allocations: 70.55 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.25, allocations: 52.83 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2501, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2503, allocations: 103.3 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2503, allocations: 4 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005297/0.2508, allocations: 217.3 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2509, allocations: 59.55 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.251, allocations: 147.8 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.251, allocations: 33.7 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.2511, allocations: 92.38 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2511, allocations: 31.64 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.2512, allocations: 29.7 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.2513, allocations: 322.8 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2514, allocations: 43.97 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.2515, allocations: 76.27 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.2518, allocations: 108.2 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2518, allocations: 4.047 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003146/0.2521, allocations: 165.5 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2521, allocations: 5.562 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2521, allocations: 4 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2521, allocations: 4 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2523, allocations: 23.86 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2523, allocations: 0 / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.2524, allocations: 15.89 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2524, allocations: 8 kB / 1.059 GB, free: 1.887 MB / 0.8106 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.928e-05/0.2525, allocations: 127.4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.2525, allocations: 11.89 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.2526, allocations: 8.719 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2526, allocations: 7.938 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2526, allocations: 3.938 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2526, allocations: 0 / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.2531, allocations: 458.4 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2531, allocations: 0 / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.2532, allocations: 11.92 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2532, allocations: 480 / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2532, allocations: 8 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2532, allocations: 0 / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2533, allocations: 3.984 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.2536, allocations: 275.2 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.2537, allocations: 84.95 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2537, allocations: 4 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2538, allocations: 7.984 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2539, allocations: 7.984 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2539, allocations: 4 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.2539, allocations: 108.9 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.254, allocations: 0 / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002829/0.2542, allocations: 48 kB / 1.06 GB, free: 0.6328 MB / 0.8106 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.0007903/0.255, allocations: 0.8662 MB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.2553, allocations: 119.8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2554, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.2555, allocations: 59.91 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2558, allocations: 17.8 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2575, allocations: 1.697 MB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2577, allocations: 0.7002 MB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.2577, allocations: 4 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.2578, allocations: 31.42 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2578, allocations: 0 / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.2772, allocations: 3.359 MB / 1.067 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.345, allocations: 4.062 kB / 1.067 GB, free: 9.781 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches