Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 115.6 kB / 16.42 MB, free: 5.988 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.001164/0.001165, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.304/1.304, 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.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.08 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.69, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002167/0.6922, allocations: 1.499 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.6932, allocations: 0.7281 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.6933, allocations: 5.188 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.6933, allocations: 4.734 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.6934, allocations: 10.56 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.6938, allocations: 124.8 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.694, allocations: 73.39 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6941, allocations: 19.14 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.6942, allocations: 31.22 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.6943, allocations: 37.16 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.6943, allocations: 6.25 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.6946, allocations: 99.47 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.6946, allocations: 18.14 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.6947, allocations: 31.98 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.695, allocations: 142.2 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.695, allocations: 0 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.695, allocations: 0 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.695, allocations: 5.156 kB / 1.091 GB, free: 3.727 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.0006101/0.6956, allocations: 423.6 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6957, allocations: 8.875 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.6957, allocations: 9.906 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.6958, allocations: 168.9 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6959, allocations: 3.953 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.6959, allocations: 8.719 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.6961, allocations: 72.05 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6961, allocations: 4 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6961, allocations: 0.9688 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6961, allocations: 1.484 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.6963, allocations: 43.16 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.6969, allocations: 314.6 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.697, allocations: 50.19 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/0.6971, allocations: 36.42 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.6972, allocations: 1.25 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.6973, allocations: 80.66 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6974, allocations: 0 / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004095/0.6978, allocations: 141.8 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.6978, allocations: 54.05 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.6979, allocations: 119 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.6979, allocations: 27.31 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.6979, allocations: 95.73 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.698, allocations: 8.938 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.698, allocations: 29.22 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.6981, allocations: 326.5 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.6981, allocations: 35.77 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.6982, allocations: 46.53 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.6984, allocations: 71.95 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6984, allocations: 4.812 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000216/0.6986, allocations: 108.6 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6986, allocations: 5.094 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6986, allocations: 1.531 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6987, allocations: 1 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.6988, allocations: 20 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6988, allocations: 0.9375 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.6988, allocations: 13.31 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.6989, allocations: 8.375 kB / 1.094 GB, free: 1.742 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 5.947e-05/0.6989, allocations: 119.2 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.6989, allocations: 7.672 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.699, allocations: 10.97 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.699, allocations: 1 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.699, allocations: 0 / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.699, allocations: 80.5 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.699, allocations: 1.594 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.6991, allocations: 16.39 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.6991, allocations: 8.922 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002636/0.6994, allocations: 188.9 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002512/0.6997, allocations: 282.4 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.949e-05/0.6998, allocations: 42.62 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.6998, allocations: 92.69 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Backend: time 2.2e-07/0.6998, allocations: 0 / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.7004, allocations: 190.1 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003213/0.7008, allocations: 0.6296 MB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of Templates: time 0.00414/0.7049, allocations: 1.496 MB / 1.097 GB, free: 160 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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