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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001027/0.001027, 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.0009722/0.0009722, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.19 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2401, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002403/0.2426, allocations: 1.642 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2437, allocations: 0.7907 MB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2438, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.2438, allocations: 3.938 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.2439, allocations: 19.84 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.2443, allocations: 127.7 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2444, allocations: 123.6 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.2445, allocations: 19.98 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.2446, allocations: 59.77 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.2447, allocations: 71.72 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.2447, allocations: 4 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2449, allocations: 91.91 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.2449, allocations: 23.91 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.245, allocations: 59.75 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2452, allocations: 187.7 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2452, allocations: 0 / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2452, allocations: 0 / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2453, allocations: 0 / 1.055 GB, free: 4.973 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.0006661/0.2459, allocations: 474.5 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.246, allocations: 15.97 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.246, allocations: 38.73 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.2461, allocations: 12.78 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2462, allocations: 193.6 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2462, allocations: 4.375 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.2462, allocations: 11.94 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2465, allocations: 97.55 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.2465, allocations: 4 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2465, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2465, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.2467, allocations: 63.95 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.2475, allocations: 364.7 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.2477, allocations: 78.47 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2478, allocations: 56.83 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2478, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.248, allocations: 103.3 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.248, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000551/0.2486, allocations: 221.3 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2486, allocations: 51.56 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2488, allocations: 151.6 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2488, allocations: 25.7 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.2489, allocations: 104.5 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2489, allocations: 27.59 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.2489, allocations: 29.7 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.249, allocations: 326.8 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.2492, allocations: 47.91 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2493, allocations: 71.14 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.2495, allocations: 116.2 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2495, allocations: 0 / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003185/0.2499, allocations: 153.4 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2499, allocations: 4 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2499, allocations: 8.094 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.2499, allocations: 0 / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.2501, allocations: 27.91 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2501, allocations: 4 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.2502, allocations: 7.906 kB / 1.058 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2502, allocations: 4 kB / 1.058 GB, free: 1.859 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 9.624e-05/0.2503, allocations: 135.8 kB / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.2503, allocations: 7.906 kB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.2504, allocations: 16.72 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2504, allocations: 3.938 kB / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2504, allocations: 0 / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2504, allocations: 0 / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.2509, allocations: 454.8 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2509, allocations: 0 / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.251, allocations: 12.02 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.251, allocations: 11.94 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.251, allocations: 3.984 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2511, allocations: 4.062 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2511, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.2514, allocations: 267.2 kB / 1.059 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.2515, allocations: 88.95 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2515, allocations: 11.98 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2517, allocations: 4 kB / 1.059 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.2517, allocations: 7.984 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.2517, allocations: 7.984 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.2518, allocations: 108.9 kB / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.322e-06/0.2518, allocations: 0 / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002823/0.2521, allocations: 47.92 kB / 1.059 GB, free: 0.5938 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.0008302/0.2529, allocations: 0.8672 MB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.2532, allocations: 107.9 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2532, allocations: 0 / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.2534, allocations: 59.91 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2536, allocations: 18.03 kB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.2554, allocations: 1.723 MB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.2556, allocations: 0.6963 MB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.506e-05/0.2557, allocations: 11.98 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.2558, allocations: 31.42 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2558, allocations: 0 / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2676, allocations: 3.121 MB / 1.066 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.2678, allocations: 270.5 kB / 1.066 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.911, allocations: 4.234 kB / 1.066 GB, free: 9.625 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