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.008705/0.008705, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001814/0.001815, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.584/2.584, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.89 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9918/0.9932, 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.002976/0.9962, allocations: 1.502 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.9976, allocations: 0.7206 MB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.9977, allocations: 4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.9978, allocations: 3.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.9978, allocations: 7.875 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006796/0.9985, allocations: 131.6 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.9987, allocations: 75.75 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9988, allocations: 15.95 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.9989, allocations: 39.84 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.999, allocations: 39.83 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.999, allocations: 8 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.9993, allocations: 87.91 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.9993, allocations: 19.98 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.9994, allocations: 35.73 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.9996, allocations: 147.3 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9997, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9997, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.9997, allocations: 0 / 1.21 GB, free: 10.79 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.0006776/1, allocations: 426.9 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1, allocations: 8.031 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/1, allocations: 8.844 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/1.001, allocations: 172.3 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/1.001, allocations: 384 / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/1.001, allocations: 12.36 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.001, allocations: 73.91 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.001, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.001, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.001, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/1.001, allocations: 39.97 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/1.002, allocations: 316.7 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/1.002, allocations: 46.5 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/1.002, allocations: 36.91 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/1.002, allocations: 80 / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/1.002, allocations: 87.36 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.002, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004068/1.003, allocations: 141.5 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.003, allocations: 55.41 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.003, allocations: 125.7 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/1.003, allocations: 25.7 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/1.003, allocations: 100.1 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/1.003, allocations: 7.812 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/1.003, allocations: 29.7 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.003, allocations: 322.8 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/1.003, allocations: 27.97 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/1.003, allocations: 46.55 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/1.003, allocations: 82.48 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.003, allocations: 0 / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/1.004, allocations: 113.8 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.004, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.004, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.004, allocations: 8.062 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/1.004, allocations: 11.98 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.004, allocations: 0 / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/1.004, allocations: 11.94 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/1.004, allocations: 7.938 kB / 1.213 GB, free: 8.242 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 0.0001246/1.004, allocations: 124.6 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/1.004, allocations: 15.83 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/1.004, allocations: 8.375 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.004, allocations: 8 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.004, allocations: 0 / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.004, allocations: 4 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/1.005, allocations: 374.5 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.005, allocations: 3.984 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/1.005, allocations: 11.94 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.005, allocations: 0 / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.005, allocations: 3.984 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.005, allocations: 8 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.005, allocations: 3.938 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/1.005, allocations: 199.4 kB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/1.005, allocations: 89 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.005, allocations: 4 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/1.005, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/1.005, allocations: 7.922 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.005, allocations: 8 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.091e-05/1.005, allocations: 91.27 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.005, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003043/1.006, allocations: 39.94 kB / 1.214 GB, free: 7.152 MB / 0.9356 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.0003582/1.006, allocations: 160.6 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002472/1.006, allocations: 75.89 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.006, allocations: 0 / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/1.006, allocations: 43.91 kB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/1.007, allocations: 7.984 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/1.007, allocations: 176.9 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/1.007, allocations: 0.6925 MB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.626e-05/1.007, allocations: 4 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/1.007, allocations: 15.42 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/1.007, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.004356/1.012, allocations: 1.483 MB / 1.216 GB, free: 4.457 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/jenkins/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