Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001753/0.001753, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.59 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002718/0.2711, allocations: 1.497 MB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2723, allocations: 0.7284 MB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.2724, allocations: 4 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.2724, allocations: 7.875 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.2725, allocations: 19.84 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.2731, allocations: 119.6 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2732, allocations: 71.84 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.2733, allocations: 11.98 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.2734, allocations: 43.84 kB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.2735, allocations: 35.84 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2735, allocations: 4 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2737, allocations: 99.84 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.2737, allocations: 23.91 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.2738, allocations: 27.84 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.274, allocations: 143.6 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.274, allocations: 0 / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.274, allocations: 0 / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2741, allocations: 0 / 0.9539 GB, free: 5.234 MB / 0.7325 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.0006853/0.2747, allocations: 420.9 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2748, allocations: 8.031 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.2748, allocations: 8.844 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.275, allocations: 172.3 kB / 0.9545 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.275, allocations: 8.359 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.275, allocations: 4.375 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2752, allocations: 77.84 kB / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.2752, allocations: 4 kB / 0.9546 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2752, allocations: 4 kB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2752, allocations: 0 / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2754, allocations: 35.97 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.276, allocations: 316.7 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2761, allocations: 58.48 kB / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.2763, allocations: 36.97 kB / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2763, allocations: 0 / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.2765, allocations: 75.38 kB / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.2765, allocations: 0 / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000379/0.2769, allocations: 137.5 kB / 0.9552 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2769, allocations: 67.47 kB / 0.9553 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.277, allocations: 121.8 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.277, allocations: 29.7 kB / 0.9554 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.2771, allocations: 84.14 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.2771, allocations: 19.75 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.2772, allocations: 33.64 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2773, allocations: 326.8 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.2774, allocations: 23.98 kB / 0.9559 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.2775, allocations: 50.55 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.2776, allocations: 66.5 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2776, allocations: 4 kB / 0.956 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002303/0.2779, allocations: 113.8 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2779, allocations: 8 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2779, allocations: 3.938 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2779, allocations: 0 / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.278, allocations: 11.98 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.278, allocations: 8.062 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.2781, allocations: 11.91 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.2781, allocations: 7.984 kB / 0.9561 GB, free: 2.676 MB / 0.7325 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.327e-05/0.2782, allocations: 127.8 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.2782, allocations: 4 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.2783, allocations: 8.375 kB / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2783, allocations: 0 / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2783, allocations: 0 / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2783, allocations: 0 / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2787, allocations: 386.3 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2788, allocations: 11.94 kB / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.2788, allocations: 3.984 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2788, allocations: 4 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2788, allocations: 4 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2788, allocations: 0 / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2788, allocations: 3.938 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.2791, allocations: 207.5 kB / 0.9569 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.2792, allocations: 85.02 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2792, allocations: 0 / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.2793, allocations: 11.98 kB / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2793, allocations: 7.938 kB / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2793, allocations: 0 / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.2794, allocations: 95.27 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2794, allocations: 0 / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003119/0.2797, allocations: 39.98 kB / 0.9571 GB, free: 1.594 MB / 0.7325 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.0003601/0.2801, allocations: 173.1 kB / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2803, allocations: 67.95 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2804, allocations: 3.938 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.2805, allocations: 35.97 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2807, allocations: 12.12 kB / 0.9574 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.2812, allocations: 180.3 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2815, allocations: 0.6902 MB / 0.9582 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2815, allocations: 7.984 kB / 0.9582 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.2816, allocations: 15.44 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of SimCode: time 2.465e-06/0.2816, allocations: 0 / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of Templates: time 0.004558/0.2862, allocations: 1.451 MB / 0.9597 GB, free: 14.92 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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