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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001288/0.001288, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001679/0.001679, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003687, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8547, allocations: 142.4 MB / 0.9544 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001518/0.8563, allocations: 1.201 MB / 0.9556 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.8573, allocations: 0.6787 MB / 0.9563 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.8574, allocations: 0 / 0.9563 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.8574, allocations: 7.922 kB / 0.9563 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.8575, allocations: 9.766 kB / 0.9563 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.8579, allocations: 97.36 kB / 0.9564 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.858, allocations: 64.97 kB / 0.9564 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.8582, allocations: 21.67 kB / 0.9565 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.8582, allocations: 32.47 kB / 0.9565 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.8583, allocations: 31.45 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.8583, allocations: 3.25 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.8585, allocations: 85.2 kB / 0.9566 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.8585, allocations: 18.11 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.8586, allocations: 35.55 kB / 0.9567 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.8587, allocations: 95.47 kB / 0.9567 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.8587, allocations: 4 kB / 0.9568 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8588, allocations: 0 / 0.9568 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8588, allocations: 1.094 kB / 0.9568 GB, free: 6.02 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.0004858/0.8593, allocations: 413.1 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8593, allocations: 8.969 kB / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.8593, allocations: 11.86 kB / 0.9572 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.8594, allocations: 175.1 kB / 0.9573 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.8595, allocations: 6.312 kB / 0.9573 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.8595, allocations: 6.781 kB / 0.9573 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.8597, allocations: 67.38 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.8597, allocations: 0 / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.8597, allocations: 1.094 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8597, allocations: 1.156 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.8599, allocations: 49.36 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.8604, allocations: 325.7 kB / 0.9578 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.8605, allocations: 55.83 kB / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.8606, allocations: 35.12 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.8606, allocations: 0 / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.8608, allocations: 83.91 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.8609, allocations: 0 / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/0.8612, allocations: 156.6 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.8613, allocations: 53.09 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.8613, allocations: 120.7 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.8614, allocations: 31.27 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.8614, allocations: 90.17 kB / 0.9584 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.8614, allocations: 14.31 kB / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.8614, allocations: 1.469 kB / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.8615, allocations: 320.4 kB / 0.9587 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.8616, allocations: 28.52 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.8617, allocations: 55.95 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.809e-05/0.8618, allocations: 34.36 kB / 0.9588 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8618, allocations: 1.469 kB / 0.9588 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.862, allocations: 117.5 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.862, allocations: 9.438 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.862, allocations: 9.719 kB / 0.9589 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.862, allocations: 0 / 0.9589 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.8621, allocations: 9.281 kB / 0.9589 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8621, allocations: 2.281 kB / 0.9589 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.8622, allocations: 17.05 kB / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.8622, allocations: 6.594 kB / 0.959 GB, free: 3.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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.8623, allocations: 123.1 kB / 0.9591 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.8623, allocations: 2.531 kB / 0.9591 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.8624, allocations: 10.98 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8624, allocations: 7.891 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8624, allocations: 1.094 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8624, allocations: 0 / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.8627, allocations: 392.9 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8627, allocations: 0 / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.8628, allocations: 4.125 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8628, allocations: 5.328 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8628, allocations: 0 / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.8628, allocations: 5.359 kB / 0.9595 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8628, allocations: 3.938 kB / 0.9595 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.863, allocations: 214.5 kB / 0.9597 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.8631, allocations: 83.77 kB / 0.9598 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.8631, allocations: 3.953 kB / 0.9598 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.8632, allocations: 9.484 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.8632, allocations: 2.75 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8632, allocations: 5.359 kB / 0.9598 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.8633, allocations: 101.5 kB / 0.9599 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8633, allocations: 7.938 kB / 0.9599 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002872/0.8636, allocations: 35.5 kB / 0.9599 GB, free: 3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002977/0.8639, allocations: 160.9 kB / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.8641, allocations: 86.62 kB / 0.9602 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8641, allocations: 1.375 kB / 0.9602 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.651e-05/0.8642, allocations: 37.92 kB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.8645, allocations: 8.625 kB / 0.9602 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.8648, allocations: 206.1 kB / 0.9604 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.8649, allocations: 0.6849 MB / 0.9611 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.865, allocations: 7.047 kB / 0.9611 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.865, allocations: 10.88 kB / 0.9611 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.865, allocations: 0 / 0.9611 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.003734/0.8688, allocations: 1.341 MB / 0.9624 GB, free: 1.258 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