Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001095/0.001095, 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.001251/0.001251, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 79.86 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8348, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002769/0.8376, allocations: 1.569 MB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.839, allocations: 0.7401 MB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.839, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.8391, allocations: 3.984 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.8391, allocations: 15.86 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.8397, allocations: 95.78 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.8398, allocations: 75.77 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.8399, allocations: 7.984 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.84, allocations: 31.92 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.8401, allocations: 39.83 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.8401, allocations: 4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.8403, allocations: 91.84 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.8403, allocations: 15.92 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.8404, allocations: 27.86 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.8406, allocations: 137.8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8407, allocations: 3.984 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.42e-07/0.8407, allocations: 4 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.8407, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 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.0006497/0.8413, allocations: 413 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.8414, allocations: 12.03 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.8414, allocations: 16.78 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.8415, allocations: 176.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8416, allocations: 4.375 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.8416, allocations: 4.375 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.8418, allocations: 73.95 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.8418, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.8418, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.8418, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.842, allocations: 39.97 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.8426, allocations: 320.6 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.8427, allocations: 46.56 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.8428, allocations: 40.95 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.8429, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.8431, allocations: 79.38 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8431, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004145/0.8435, allocations: 137.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.8435, allocations: 55.41 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.8436, allocations: 125.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.8437, allocations: 29.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.8437, allocations: 88.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8438, allocations: 15.88 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.8438, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.844, allocations: 326.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/0.844, allocations: 23.98 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.8442, allocations: 54.55 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.8443, allocations: 70.5 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8443, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000255/0.8446, allocations: 117.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8446, allocations: 5.25 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8446, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8447, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.8448, allocations: 15.92 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.8448, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.8449, allocations: 11.84 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.8449, allocations: 7.984 kB / 1.022 GB, free: 13.51 MB / 0.7794 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.248e-05/0.845, allocations: 126.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.845, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.845, allocations: 4.375 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.845, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.845, allocations: 7.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.8451, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.8455, allocations: 386.3 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.8455, allocations: 3.938 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.8456, allocations: 11.98 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8456, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.8456, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8456, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8456, allocations: 3.938 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.8459, allocations: 219.8 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.846, allocations: 77.11 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.846, allocations: 4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.8461, allocations: 4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.8462, allocations: 11.92 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.8462, allocations: 4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.8462, allocations: 95.27 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8462, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003146/0.8465, allocations: 35.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 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.0003655/0.8469, allocations: 176.6 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.8472, allocations: 71.89 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8472, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.8473, allocations: 39.91 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.8476, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.848, allocations: 202.1 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.8482, allocations: 0.6848 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.8483, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.8483, allocations: 15.44 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8483, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.004155/0.8525, allocations: 1.362 MB / 1.025 GB, free: 9.832 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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