Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008578/0.0008576, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005386/0.005386, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.896/2.896, allocations: 462.6 MB / 0.7363 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 10.95 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001846/0.3381, allocations: 1.225 MB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3395, allocations: 0.7207 MB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.3395, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.3396, allocations: 3.938 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.3397, allocations: 15.84 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.3403, allocations: 103.8 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3404, allocations: 67.84 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3405, allocations: 11.94 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.3406, allocations: 35.89 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.3407, allocations: 31.84 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3407, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.3409, allocations: 95.84 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.341, allocations: 23.91 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.3411, allocations: 53.56 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3413, allocations: 131.9 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3413, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3413, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3413, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 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.0005986/0.3419, allocations: 409.1 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.342, allocations: 19.97 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.342, allocations: 8.844 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3422, allocations: 168.2 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3422, allocations: 4.375 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3422, allocations: 4.375 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3424, allocations: 77.95 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3424, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3424, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3425, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3426, allocations: 47.91 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3432, allocations: 328.7 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3433, allocations: 46.56 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/0.3434, allocations: 36.91 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3434, allocations: 4 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.3436, allocations: 91.3 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3436, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004039/0.3441, allocations: 141.7 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3441, allocations: 55.39 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3442, allocations: 129.8 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3442, allocations: 25.7 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.3443, allocations: 92.12 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3443, allocations: 15.75 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3444, allocations: 17.72 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3445, allocations: 326.8 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.3446, allocations: 23.98 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.3447, allocations: 58.48 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3448, allocations: 78.56 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3448, allocations: 4 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002484/0.3451, allocations: 113.5 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3451, allocations: 4 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3451, allocations: 7.938 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3452, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.3452, allocations: 15.92 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3453, allocations: 8.062 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.3453, allocations: 15.98 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3454, allocations: 4 kB / 1.063 GB, free: 15.86 MB / 0.8262 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.213e-05/0.3455, allocations: 117.8 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.3455, allocations: 7.906 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.3455, allocations: 12.31 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3455, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3455, allocations: 4 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3455, allocations: 7.984 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.346, allocations: 386.7 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.346, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.346, allocations: 8 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.346, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.346, allocations: 8 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.346, allocations: 0 / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3461, allocations: 3.938 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3463, allocations: 223.4 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.3464, allocations: 81.02 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3464, allocations: 12 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.3465, allocations: 7.984 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3465, allocations: 3.938 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3465, allocations: 7.984 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.3466, allocations: 91.88 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3466, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002853/0.3469, allocations: 39.98 kB / 1.064 GB, free: 14.76 MB / 0.8262 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.0003441/0.3472, allocations: 170.1 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3475, allocations: 71.89 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3475, allocations: 4 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.3476, allocations: 36.11 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3479, allocations: 8 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.3482, allocations: 205.1 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3485, allocations: 0.6926 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.3485, allocations: 4 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.3485, allocations: 15.42 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3486, allocations: 0 / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.003985/0.3525, allocations: 1.368 MB / 1.067 GB, free: 12.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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