Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005346/0.005351, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001159/0.001159, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8991, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002741/0.9019, allocations: 1.491 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.9032, allocations: 0.7322 MB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.9033, allocations: 4 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.9033, allocations: 3.938 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.9034, allocations: 15.84 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.904, allocations: 123.6 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.9042, allocations: 71.77 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.9043, allocations: 19.94 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.9044, allocations: 43.84 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.9045, allocations: 35.84 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.9045, allocations: 8 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.9047, allocations: 95.89 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.9048, allocations: 15.97 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.9048, allocations: 31.8 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.9051, allocations: 147.3 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.9051, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.035e-06/0.9051, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.9051, allocations: 0 / 1.21 GB, free: 10.82 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.0008243/0.906, allocations: 423 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.906, allocations: 12.02 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.9061, allocations: 8.844 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.9063, allocations: 168.3 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.9063, allocations: 4.375 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.9063, allocations: 8.375 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.9065, allocations: 65.97 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.9066, allocations: 11.92 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.9066, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.9066, allocations: 4 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.9067, allocations: 39.95 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.9074, allocations: 312.7 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.9076, allocations: 50.55 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.9077, allocations: 36.91 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.9077, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.9079, allocations: 79.38 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/0.9079, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004598/0.9084, allocations: 153.5 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.9085, allocations: 51.41 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.9086, allocations: 125.7 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.9086, allocations: 29.64 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.209e-05/0.9087, allocations: 92.14 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.9087, allocations: 11.8 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.9088, allocations: 29.72 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.909, allocations: 322.8 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.9091, allocations: 27.98 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.9092, allocations: 59.78 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.9094, allocations: 83.34 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9094, allocations: 4 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.9096, allocations: 113.5 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9096, allocations: 4 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.9096, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9097, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.9098, allocations: 15.92 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9098, allocations: 4 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.9098, allocations: 7.938 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.9099, allocations: 8.062 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 9.791e-05/0.91, allocations: 121.8 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.91, allocations: 11.91 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.91, allocations: 4.375 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.91, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.91, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.91, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.9105, allocations: 398.6 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.9105, allocations: 0 / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.9105, allocations: 7.984 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9105, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.9106, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9106, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9106, allocations: 3.938 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.9108, allocations: 219.3 kB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.9109, allocations: 81.02 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.9109, allocations: 4.062 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.911, allocations: 4 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.9111, allocations: 11.92 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.9111, allocations: 48 / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.9112, allocations: 99.27 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9112, allocations: 0 / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002911/0.9115, allocations: 43.92 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,occ.y,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.0003662/0.9118, allocations: 161.1 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.9121, allocations: 67.91 kB / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9121, allocations: 0 / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.9122, allocations: 44.09 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.9124, allocations: 3.984 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.9128, allocations: 188.3 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.9131, allocations: 0.6884 MB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.049e-05/0.9132, allocations: 7.984 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.9132, allocations: 15.44 kB / 1.215 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9132, allocations: 0 / 1.215 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of Templates: time 0.004353/0.9176, allocations: 1.459 MB / 1.216 GB, free: 4.48 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0