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.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001587/0.001587, allocations: 193 kB / 16.25 MB, free: 6.629 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.539/2.539, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.88 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8358, allocations: 140.4 MB / 0.9491 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003686/0.8396, allocations: 1.562 MB / 0.9506 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.8411, allocations: 0.7179 MB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.8413, allocations: 1.5 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.585e-05/0.8413, allocations: 0 / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.8415, allocations: 21.22 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.8423, allocations: 102.5 kB / 0.9514 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.8425, allocations: 79.08 kB / 0.9515 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.8426, allocations: 17.44 kB / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.8427, allocations: 33.83 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.8428, allocations: 43.08 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.8428, allocations: 6.781 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.8431, allocations: 94.38 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.8431, allocations: 14.92 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.8432, allocations: 40.03 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.8435, allocations: 136.1 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8435, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8435, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.8435, allocations: 0 / 0.9519 GB, free: 7.148 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.0006304/0.8441, allocations: 428.1 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.8442, allocations: 9.625 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.8442, allocations: 5.062 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.8443, allocations: 175 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.8444, allocations: 7.656 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.8444, allocations: 7.547 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.8446, allocations: 68.88 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8446, allocations: 0 / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.8446, allocations: 8 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.8446, allocations: 1.156 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.8448, allocations: 37.5 kB / 0.9526 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.8453, allocations: 325.1 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.8455, allocations: 48.16 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.8455, allocations: 35.83 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.8456, allocations: 1.094 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.8458, allocations: 73.09 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.8458, allocations: 1 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003887/0.8462, allocations: 144.5 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8462, allocations: 52.94 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.8463, allocations: 121.9 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.8464, allocations: 30.95 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.8464, allocations: 85.8 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.8465, allocations: 18.84 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.8465, allocations: 30.86 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.8466, allocations: 328.2 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.8467, allocations: 26.33 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.8468, allocations: 48.27 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.847, allocations: 73.58 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.847, allocations: 9.438 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002435/0.8472, allocations: 113.2 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8472, allocations: 4.156 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8473, allocations: 1.594 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.8473, allocations: 1.281 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8474, allocations: 16.17 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8474, allocations: 1.031 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.8475, allocations: 7.469 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.8475, allocations: 7.469 kB / 0.9541 GB, free: 5 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 9.333e-05/0.8476, allocations: 127 kB / 0.9542 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.8476, allocations: 6.625 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.8477, allocations: 5.75 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8477, allocations: 1.469 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.8477, allocations: 0 / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8477, allocations: 1.469 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.8482, allocations: 390 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8482, allocations: 1.25 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.8483, allocations: 7.516 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8483, allocations: 4 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8483, allocations: 1.312 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.8483, allocations: 1.016 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.8483, allocations: 7.922 kB / 0.9547 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.8486, allocations: 213.8 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.8486, allocations: 86.33 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.8487, allocations: 1 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.8487, allocations: 3.688 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.8488, allocations: 10.52 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.8488, allocations: 5.375 kB / 0.955 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.8489, allocations: 93.55 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8489, allocations: 0 / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003394/0.8492, allocations: 43.67 kB / 0.9551 GB, free: 4.082 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.0003535/0.8496, allocations: 157.8 kB / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.8498, allocations: 74.48 kB / 0.9553 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8498, allocations: 128 / 0.9553 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.383e-05/0.8499, allocations: 39.69 kB / 0.9554 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.8502, allocations: 13.75 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.8506, allocations: 196.1 kB / 0.9556 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.8507, allocations: 0.6915 MB / 0.9562 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.8508, allocations: 8.016 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.8508, allocations: 10.31 kB / 0.9562 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8508, allocations: 0 / 0.9562 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.003928/0.8547, allocations: 1.41 MB / 0.9576 GB, free: 2.285 MB / 0.7169 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/jenkins/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