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.001098/0.001098, 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.001356/0.001357, allocations: 194 kB / 16.14 MB, free: 6.691 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.419/2.419, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7676, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.00307/0.7707, allocations: 1.56 MB / 0.9504 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.772, allocations: 0.728 MB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.772, allocations: 5.688 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.7721, allocations: 3.938 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.7721, allocations: 9.703 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.7726, allocations: 104.4 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.7727, allocations: 70.41 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.7729, allocations: 9.141 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.773, allocations: 42.05 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.773, allocations: 35.31 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.773, allocations: 3.781 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.7732, allocations: 89.06 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.7733, allocations: 15.91 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.7733, allocations: 32.23 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.7735, allocations: 139.3 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7735, allocations: 0 / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7735, allocations: 0 / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7736, allocations: 0 / 0.9517 GB, free: 7.051 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.0006049/0.7742, allocations: 427.7 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.7742, allocations: 13.66 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.7743, allocations: 4.844 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.7744, allocations: 172 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.7744, allocations: 6.844 kB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.7744, allocations: 3.875 kB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.7746, allocations: 71.95 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7746, allocations: 3.938 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.7747, allocations: 5.25 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7747, allocations: 5.188 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.7748, allocations: 36.09 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.7754, allocations: 313.4 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.7755, allocations: 53.88 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.7756, allocations: 35.23 kB / 0.9528 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.7756, allocations: 5.312 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.7758, allocations: 72.72 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7758, allocations: 0 / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004288/0.7763, allocations: 149.4 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.7763, allocations: 52.84 kB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.7764, allocations: 116.9 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.7764, allocations: 30.73 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.7765, allocations: 94.56 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.7765, allocations: 14.12 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.7766, allocations: 30.27 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.7767, allocations: 325.3 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.7767, allocations: 30.52 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.7768, allocations: 48.06 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.777, allocations: 69.27 kB / 0.9538 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.777, allocations: 4.781 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002288/0.7773, allocations: 121.1 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7773, allocations: 6.031 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.7773, allocations: 400 / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7773, allocations: 1.219 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.7774, allocations: 12.42 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7774, allocations: 1.375 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.7775, allocations: 7.719 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.7775, allocations: 3.625 kB / 0.9539 GB, free: 4.906 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 7.968e-05/0.7776, allocations: 126.9 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.7776, allocations: 10.31 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.7777, allocations: 9.781 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7777, allocations: 1.219 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7777, allocations: 1.531 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7777, allocations: 0 / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.7781, allocations: 390.8 kB / 0.9544 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7781, allocations: 0 / 0.9544 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.7781, allocations: 6.828 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7781, allocations: 1.531 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.7782, allocations: 1.188 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7782, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7782, allocations: 7.875 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.7784, allocations: 214.3 kB / 0.9547 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.7785, allocations: 86.45 kB / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.7785, allocations: 1.469 kB / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.7786, allocations: 2.656 kB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.7786, allocations: 10.36 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.7787, allocations: 2.438 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.7787, allocations: 101.6 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7787, allocations: 0 / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003039/0.779, allocations: 36.23 kB / 0.9549 GB, free: 3.988 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.0003409/0.7794, allocations: 164.8 kB / 0.9551 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.7796, allocations: 69.84 kB / 0.9551 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7796, allocations: 3.938 kB / 0.9551 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.7797, allocations: 44.28 kB / 0.9552 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.78, allocations: 3.375 kB / 0.9552 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.7804, allocations: 192 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.7805, allocations: 0.6951 MB / 0.956 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.7805, allocations: 7.578 kB / 0.956 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.7806, allocations: 11.09 kB / 0.956 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7806, allocations: 0 / 0.956 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.00379/0.7844, allocations: 1.374 MB / 0.9574 GB, free: 2.207 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