Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001718/0.001718, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.362/1.362, allocations: 222.9 MB / 241.1 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.559/2.559, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6964/0.6978, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002785/0.7006, allocations: 1.499 MB / 1.222 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.702, allocations: 0.7254 MB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.7021, allocations: 4 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.7022, allocations: 7.922 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.7023, allocations: 11.86 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.7029, allocations: 123.6 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.703, allocations: 71.72 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.7031, allocations: 23.94 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.7032, allocations: 35.91 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.7033, allocations: 39.83 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.7033, allocations: 8 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.7035, allocations: 91.84 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.7036, allocations: 19.97 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.7036, allocations: 35.8 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.7039, allocations: 147.3 kB / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7039, allocations: 0 / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7039, allocations: 0 / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.7039, allocations: 0 / 1.224 GB, free: 15.51 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.0006673/0.7046, allocations: 417.4 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7047, allocations: 8.625 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.7047, allocations: 12.83 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.7048, allocations: 168.3 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.7049, allocations: 8.312 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.7049, allocations: 8.375 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.7051, allocations: 73.95 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.7051, allocations: 0 / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.7052, allocations: 4 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7052, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.7053, allocations: 39.95 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.7059, allocations: 324.6 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.7061, allocations: 54.48 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.7062, allocations: 32.97 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.7062, allocations: 0 / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.7064, allocations: 79.38 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.7064, allocations: 3.938 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004246/0.7068, allocations: 137.6 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.7069, allocations: 55.41 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.707, allocations: 126.1 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.707, allocations: 29.7 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.7071, allocations: 84.14 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.7071, allocations: 23.8 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.7072, allocations: 21.72 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.7073, allocations: 326.8 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.7074, allocations: 23.98 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.7075, allocations: 54.59 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.7077, allocations: 74.5 kB / 1.226 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7077, allocations: 0 / 1.226 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.7079, allocations: 117.5 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7079, allocations: 4 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7079, allocations: 400 / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.708, allocations: 4 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.7081, allocations: 12.05 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7081, allocations: 4 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.7082, allocations: 11.92 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.7082, allocations: 4 kB / 1.226 GB, free: 12.97 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 8.622e-05/0.7083, allocations: 125.4 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.7083, allocations: 11.91 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.7083, allocations: 4.375 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7083, allocations: 3.984 kB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7084, allocations: 7.938 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.7084, allocations: 85.02 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7084, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.7085, allocations: 11.94 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.7085, allocations: 11.98 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002752/0.7088, allocations: 188.9 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003261/0.7091, allocations: 286.6 kB / 1.227 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.065e-05/0.7093, allocations: 31.97 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.7093, allocations: 95.27 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/0.7093, allocations: 0 / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.71, allocations: 189.1 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004888/0.7105, allocations: 0.6099 MB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of Templates: time 0.004034/0.7145, allocations: 1.499 MB / 1.229 GB, free: 9.75 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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