Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Herkel2008WindowsCompletelyOpen,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.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_9_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.001456/0.001456, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001723/0.001723, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.375/2.375, allocations: 390.2 MB / 0.6642 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001469, allocations: 63.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7662, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00264/0.7689, allocations: 1.555 MB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7701, allocations: 0.7365 MB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.7701, allocations: 5.188 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.7702, allocations: 0 / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.7702, allocations: 5.312 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.7707, allocations: 109.4 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.7708, allocations: 78.7 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.7709, allocations: 12.5 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.771, allocations: 34.45 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.7711, allocations: 38.91 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.7711, allocations: 4.469 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.7713, allocations: 93.34 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.7713, allocations: 10.73 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.7713, allocations: 32.05 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.7715, allocations: 135.1 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7715, allocations: 0 / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7715, allocations: 1.094 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.7716, allocations: 3.938 kB / 0.9517 GB, free: 7.082 MB / 0.7169 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.0005569/0.7721, allocations: 420.4 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.7722, allocations: 9.875 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.7722, allocations: 8.891 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.7723, allocations: 178.8 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.7723, allocations: 8.094 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.7724, allocations: 2.938 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.7725, allocations: 68.41 kB / 0.9524 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7726, allocations: 5.656 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7726, allocations: 0 / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7726, allocations: 1.156 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.7727, allocations: 39.66 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.7733, allocations: 314.1 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.7734, allocations: 60.7 kB / 0.9528 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.7735, allocations: 32.19 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.7735, allocations: 1.875 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.7737, allocations: 76.47 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.7737, allocations: 3.938 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003748/0.7741, allocations: 144.2 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.7741, allocations: 52.78 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.7742, allocations: 121.3 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.7742, allocations: 30.83 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.7743, allocations: 87.64 kB / 0.9533 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.7743, allocations: 22.23 kB / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.7743, allocations: 21.16 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.7744, allocations: 329.3 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.7745, allocations: 26.98 kB / 0.9537 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.7746, allocations: 47.89 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.7747, allocations: 78.02 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7747, allocations: 0 / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002125/0.7749, allocations: 113.4 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.775, allocations: 5.031 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.775, allocations: 5.344 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.775, allocations: 1.125 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.7751, allocations: 16.08 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7751, allocations: 1.156 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.7752, allocations: 16.67 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.7752, allocations: 2.375 kB / 0.9539 GB, free: 4.934 MB / 0.7169 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.311e-05/0.7753, allocations: 123.7 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.7753, allocations: 6.312 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7753, allocations: 9.594 kB / 0.9541 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7753, allocations: 1.188 kB / 0.9541 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7753, allocations: 5.266 kB / 0.9541 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7753, allocations: 3.984 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.7757, allocations: 390.7 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7757, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.7757, allocations: 4.25 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7758, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.7758, allocations: 1.312 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7758, allocations: 0.8125 kB / 0.9545 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7758, allocations: 7.922 kB / 0.9545 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.776, allocations: 210.3 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.7761, allocations: 82.42 kB / 0.9547 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.7761, allocations: 1.312 kB / 0.9547 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.7762, allocations: 6.391 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.7762, allocations: 7.75 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.7762, allocations: 8.984 kB / 0.9548 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.7763, allocations: 92.73 kB / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7763, allocations: 4 kB / 0.9549 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000287/0.7766, allocations: 40.31 kB / 0.9549 GB, free: 4.02 MB / 0.7169 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,win.occ,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.0003003/0.7769, allocations: 161.4 kB / 0.9551 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.7771, allocations: 73.92 kB / 0.9551 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7771, allocations: 4.125 kB / 0.9551 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.7772, allocations: 32.14 kB / 0.9552 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.7775, allocations: 2.969 kB / 0.9552 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.7778, allocations: 196.2 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.778, allocations: 0.6995 MB / 0.956 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.66e-05/0.778, allocations: 3.438 kB / 0.956 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.778, allocations: 11.31 kB / 0.956 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.778, allocations: 0 / 0.956 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of Templates: time 0.0038/0.7818, allocations: 1.378 MB / 0.9574 GB, free: 2.25 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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