Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.004813/0.004813, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001447/0.001447, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.398/2.398, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 63.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5681, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002208/0.5703, allocations: 1.495 MB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.5714, allocations: 0.7215 MB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.5715, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.5715, allocations: 7.922 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.5716, allocations: 11.88 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.572, allocations: 119.6 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.5722, allocations: 83.7 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.5722, allocations: 19.94 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.5723, allocations: 27.92 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.5724, allocations: 47.81 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.5724, allocations: 4 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.5726, allocations: 95.84 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.5726, allocations: 19.98 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.5726, allocations: 35.8 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.5729, allocations: 138.3 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5729, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5729, allocations: 4 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.5729, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005308/0.5734, allocations: 413.7 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5735, allocations: 16.02 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.5735, allocations: 38.75 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.5735, allocations: 12.83 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.5737, allocations: 172.3 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.5737, allocations: 8.359 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.5737, allocations: 8.359 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5739, allocations: 69.78 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5739, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.5739, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5739, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.574, allocations: 39.97 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.5745, allocations: 324.6 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.5747, allocations: 46.5 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.5747, allocations: 32.97 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5748, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.5749, allocations: 83.36 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.5749, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003375/0.5753, allocations: 137.5 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5753, allocations: 59.39 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.5754, allocations: 125.8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5754, allocations: 25.7 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.5755, allocations: 92.12 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.5755, allocations: 19.97 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.5756, allocations: 29.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5757, allocations: 318.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.5758, allocations: 27.97 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.5759, allocations: 46.56 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.576, allocations: 74.48 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.576, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002127/0.5762, allocations: 113.5 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.5762, allocations: 8.062 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5763, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5763, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.5764, allocations: 11.98 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5764, allocations: 3.938 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.5764, allocations: 11.94 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5765, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.871e-05/0.5765, allocations: 121.7 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.5766, allocations: 15.94 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.5766, allocations: 12.38 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5766, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5766, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5766, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.577, allocations: 382.4 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.577, allocations: 3.938 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.5771, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5771, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.5771, allocations: 7.984 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5771, allocations: 7.938 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5771, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.5774, allocations: 195.5 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.5774, allocations: 89.05 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.5774, allocations: 0 / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.5775, allocations: 19.88 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.5776, allocations: 3.984 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.5776, allocations: 8 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.5776, allocations: 91.92 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5776, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002435/0.5779, allocations: 39.88 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007243/0.5786, allocations: 0.8146 MB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5788, allocations: 79.83 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5788, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.5789, allocations: 40.05 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.5791, allocations: 14.12 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.5806, allocations: 1.49 MB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.5808, allocations: 0.6884 MB / 1.229 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.5809, allocations: 7.984 kB / 1.229 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.5809, allocations: 19.44 kB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.5809, allocations: 0 / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.592/8.173, allocations: 2.642 MB / 1.232 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/23.66, allocations: 15.73 kB / 1.232 GB, free: 5.723 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed