Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008647/0.0008648, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009955/0.0009955, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 12 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7512, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001975/0.7533, allocations: 1.202 MB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.7545, allocations: 0.6697 MB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.7545, allocations: 1.156 kB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.7546, allocations: 3.938 kB / 0.9563 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.7546, allocations: 16.88 kB / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.7552, allocations: 101.5 kB / 0.9564 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.7553, allocations: 64.88 kB / 0.9564 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.7554, allocations: 13.41 kB / 0.9565 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.7554, allocations: 29.27 kB / 0.9565 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.7555, allocations: 35.92 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.7556, allocations: 6.688 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.7558, allocations: 89.19 kB / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.7558, allocations: 18.3 kB / 0.9566 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.7558, allocations: 30.52 kB / 0.9567 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.756, allocations: 100.3 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.756, allocations: 0 / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.756, allocations: 0 / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.756, allocations: 0 / 0.9567 GB, free: 5.953 MB / 0.7169 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.0005551/0.7566, allocations: 410.7 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7566, allocations: 12.47 kB / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.7567, allocations: 11.89 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.7568, allocations: 168 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.7568, allocations: 8.859 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.7569, allocations: 11.36 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.757, allocations: 67.44 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7571, allocations: 0 / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.7571, allocations: 4 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7571, allocations: 2.031 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.7572, allocations: 49.86 kB / 0.9575 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.7578, allocations: 329.3 kB / 0.9578 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.7579, allocations: 51.28 kB / 0.9578 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.758, allocations: 35.09 kB / 0.9579 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.758, allocations: 0 / 0.9579 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.7582, allocations: 87.75 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.7583, allocations: 0 / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004252/0.7587, allocations: 156.2 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.7587, allocations: 53.31 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.7588, allocations: 122.1 kB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.7588, allocations: 29.7 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.7589, allocations: 91.88 kB / 0.9584 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.7589, allocations: 13.59 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.7589, allocations: 1.812 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.759, allocations: 320.6 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.7591, allocations: 24.11 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.7592, allocations: 50.97 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.7593, allocations: 35.64 kB / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7593, allocations: 0 / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002361/0.7595, allocations: 121.8 kB / 0.9589 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7596, allocations: 5.5 kB / 0.9589 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.7596, allocations: 9.266 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7596, allocations: 5.312 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7597, allocations: 13.61 kB / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7597, allocations: 1.375 kB / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.7598, allocations: 13.34 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.7598, allocations: 10.8 kB / 0.959 GB, free: 3.859 MB / 0.7169 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/0.7599, allocations: 115.5 kB / 0.9591 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.76, allocations: 8.062 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.76, allocations: 9.75 kB / 0.9591 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.76, allocations: 5.328 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.76, allocations: 0 / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.76, allocations: 3.938 kB / 0.9591 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.7604, allocations: 389 kB / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7604, allocations: 0 / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.7605, allocations: 7.641 kB / 0.9595 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7605, allocations: 5.578 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.7605, allocations: 0 / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7605, allocations: 1.312 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7605, allocations: 0 / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.7608, allocations: 223 kB / 0.9597 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.7608, allocations: 82.64 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.7608, allocations: 5.453 kB / 0.9598 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.7609, allocations: 7.828 kB / 0.9598 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.761, allocations: 6.469 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.761, allocations: 6.656 kB / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.761, allocations: 96.39 kB / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.761, allocations: 1.281 kB / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003305/0.7614, allocations: 39.11 kB / 0.9599 GB, free: 2.953 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004004/0.7618, allocations: 172.1 kB / 0.9601 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.762, allocations: 74.75 kB / 0.9602 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.762, allocations: 0 / 0.9602 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.7621, allocations: 43.84 kB / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.7624, allocations: 12.25 kB / 0.9602 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.7628, allocations: 199.6 kB / 0.9604 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.7629, allocations: 0.6877 MB / 0.9611 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.97e-05/0.763, allocations: 8.688 kB / 0.9611 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.763, allocations: 17.61 kB / 0.9611 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.763, allocations: 1.219 kB / 0.9611 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.004251/0.7673, allocations: 1.328 MB / 0.9624 GB, free: 1.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0