Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Herkel2008WindowsTiltedOpen,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.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_9_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.001046/0.001046, allocations: 112.8 kB / 16.42 MB, free: 6.016 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.0009891/0.0009892, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 55.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7054, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002324/0.7077, allocations: 1.5 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.7088, allocations: 0.7342 MB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.7089, allocations: 1.094 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.7089, allocations: 5.203 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.709, allocations: 14.73 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.7095, allocations: 121.1 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.7096, allocations: 80.44 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.7097, allocations: 7.859 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.7098, allocations: 31.28 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.7099, allocations: 44.84 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.7099, allocations: 6.469 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.7101, allocations: 99.11 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.7101, allocations: 14.78 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.7102, allocations: 31.05 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.7104, allocations: 142.5 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7104, allocations: 4.938 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7104, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.7104, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 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.0004976/0.7109, allocations: 420.5 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.711, allocations: 9.109 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.711, allocations: 12.91 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.841e-05/0.7111, allocations: 181 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.7111, allocations: 3.766 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.7112, allocations: 4.219 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.7113, allocations: 72.98 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.7113, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.7114, allocations: 1.891 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7114, allocations: 5 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.7115, allocations: 39.59 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.712, allocations: 314.3 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.7122, allocations: 46.38 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.7122, allocations: 31.42 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.7123, allocations: 5.672 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.7124, allocations: 80.92 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7124, allocations: 0 / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003665/0.7128, allocations: 141.2 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.7128, allocations: 54.42 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.7129, allocations: 119 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.7129, allocations: 34.58 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.713, allocations: 92.17 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.713, allocations: 12.5 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.713, allocations: 29.02 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.7131, allocations: 324.2 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.7132, allocations: 31.09 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.7133, allocations: 50.03 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.7134, allocations: 72.05 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7134, allocations: 0.5 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002231/0.7137, allocations: 112.7 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7137, allocations: 12.77 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7137, allocations: 5.344 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7137, allocations: 1.188 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.7138, allocations: 10.22 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7138, allocations: 2.703 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.7139, allocations: 12.11 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.7139, allocations: 8.906 kB / 1.094 GB, free: 1.754 MB / 0.8575 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 6.189e-05/0.714, allocations: 119.4 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.714, allocations: 10.91 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.714, allocations: 10.94 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.714, allocations: 8.5 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.714, allocations: 1.656 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.7141, allocations: 87.92 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.7141, allocations: 1.5 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.7141, allocations: 8.094 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.7142, allocations: 5.469 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002625/0.7145, allocations: 191.3 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002532/0.7147, allocations: 278.3 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.767e-05/0.7148, allocations: 38.92 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.7149, allocations: 92.3 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Backend: time 7.21e-07/0.7149, allocations: 0 / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006442/0.7155, allocations: 187.3 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003634/0.7159, allocations: 0.6226 MB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of Templates: time 0.00467/0.7206, allocations: 1.503 MB / 1.097 GB, free: 176 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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