Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 108.3 kB / 16.41 MB, free: 6.496 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.001861/0.001861, allocations: 193.7 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 2.04/2.04, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.425/4.425, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421/1.423, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003805/1.427, allocations: 1.502 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001814/1.429, allocations: 0.7284 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/1.429, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/1.429, allocations: 7.875 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/1.429, allocations: 15.91 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/1.43, allocations: 123.6 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/1.43, allocations: 75.77 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/1.43, allocations: 15.94 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/1.43, allocations: 43.91 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/1.43, allocations: 35.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/1.431, allocations: 4 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/1.431, allocations: 95.84 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/1.431, allocations: 15.98 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/1.431, allocations: 39.77 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/1.431, allocations: 139.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/1.431, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.431, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.431, allocations: 0 / 1.211 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.0008485/1.432, allocations: 426.9 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.432, allocations: 8.031 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/1.432, allocations: 8.844 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.432, allocations: 172.3 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/1.433, allocations: 4.375 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.433, allocations: 8.375 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/1.433, allocations: 65.97 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.433, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/1.433, allocations: 8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.433, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/1.433, allocations: 39.91 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/1.434, allocations: 316.7 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/1.434, allocations: 54.5 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/1.434, allocations: 32.95 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/1.434, allocations: 4 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/1.435, allocations: 87.23 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.053e-06/1.435, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005698/1.435, allocations: 141.6 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.435, allocations: 55.41 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.435, allocations: 129.7 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/1.435, allocations: 29.7 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/1.435, allocations: 84.14 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/1.435, allocations: 15.81 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/1.436, allocations: 29.7 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.436, allocations: 322.8 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/1.436, allocations: 27.98 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/1.436, allocations: 54.48 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/1.436, allocations: 66.86 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.436, allocations: 0 / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000341/1.437, allocations: 117.5 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.437, allocations: 8 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.437, allocations: 0 / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.437, allocations: 0 / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/1.437, allocations: 15.92 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.437, allocations: 4 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/1.437, allocations: 11.94 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/1.437, allocations: 3.984 kB / 1.213 GB, free: 8.234 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.0001257/1.437, allocations: 131.3 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/1.437, allocations: 3.906 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/1.437, allocations: 12.38 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/1.437, allocations: 0 / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.437, allocations: 0 / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/1.437, allocations: 89 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/1.437, allocations: 4 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/1.437, allocations: 7.938 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/1.437, allocations: 7.984 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000398/1.438, allocations: 188.9 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004057/1.438, allocations: 278.8 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001302/1.438, allocations: 39.95 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.521e-05/1.438, allocations: 91.28 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of Backend: time 9.51e-07/1.439, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009838/1.439, allocations: 187.5 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007301/1.44, allocations: 0.6177 MB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.01075/1.451, allocations: 1.53 MB / 1.217 GB, free: 4.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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