Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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: 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_latest_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_latest_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.0011/0.0011, allocations: 112 kB / 16.42 MB, free: 6.512 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.001048/0.001048, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7307, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002465/0.7332, allocations: 1.501 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.7344, allocations: 0.7284 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.7345, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.7345, allocations: 3.938 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.7346, allocations: 19.86 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.7352, allocations: 119.6 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.7353, allocations: 79.72 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.7354, allocations: 15.94 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.7354, allocations: 35.91 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.7355, allocations: 43.83 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.7355, allocations: 8 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.7357, allocations: 91.84 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.7358, allocations: 15.98 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.7358, allocations: 39.78 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.736, allocations: 139.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.736, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7361, allocations: 4 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7361, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 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.0005956/0.7367, allocations: 415 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.7367, allocations: 12.03 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.7368, allocations: 12.84 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.7369, allocations: 168.2 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7369, allocations: 12.38 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.7369, allocations: 4.375 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.7371, allocations: 69.97 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.7371, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7371, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7372, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.7373, allocations: 39.97 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.7379, allocations: 320.7 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.738, allocations: 50.5 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.7381, allocations: 40.84 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.7381, allocations: 4 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.7383, allocations: 71.38 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.7383, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003872/0.7387, allocations: 149.5 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.7388, allocations: 55.41 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.7389, allocations: 121.7 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7389, allocations: 37.7 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.739, allocations: 84.14 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.739, allocations: 19.8 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.739, allocations: 25.7 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7391, allocations: 322.8 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.7392, allocations: 23.98 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.7393, allocations: 58.92 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.7395, allocations: 74.48 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7395, allocations: 0 / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/0.7398, allocations: 109.5 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.7398, allocations: 4.062 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7398, allocations: 7.984 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7398, allocations: 0 / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.7399, allocations: 12 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7399, allocations: 400 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.74, allocations: 11.92 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.74, allocations: 4 kB / 1.213 GB, free: 8.238 MB / 0.9356 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 8.651e-05/0.7401, allocations: 125.7 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7401, allocations: 15.84 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.7402, allocations: 8.359 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7402, allocations: 0 / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7402, allocations: 0 / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.7402, allocations: 85.02 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.7402, allocations: 4 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.7403, allocations: 7.938 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.7404, allocations: 3.984 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002978/0.7407, allocations: 196.9 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002932/0.741, allocations: 282.7 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.895e-05/0.7411, allocations: 35.97 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.7411, allocations: 91.27 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of Backend: time 3.2e-07/0.7411, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006204/0.7417, allocations: 185 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004474/0.7422, allocations: 0.6176 MB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.00398/0.7462, allocations: 1.505 MB / 1.216 GB, free: 5.004 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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