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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001563/0.001562, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001579/0.001579, allocations: 187 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001546, allocations: 67.89 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7315, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002889/0.7345, allocations: 1.507 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.7359, allocations: 0.7206 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.7359, allocations: 4 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.736, allocations: 7.875 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.736, allocations: 7.922 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.7367, allocations: 127.6 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.7368, allocations: 75.75 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.7369, allocations: 19.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.737, allocations: 35.91 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.7371, allocations: 39.83 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.7371, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.7374, allocations: 91.84 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.7374, allocations: 19.92 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.7374, allocations: 27.86 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.7377, allocations: 143.3 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7378, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7378, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.7378, allocations: 3.938 kB / 1.211 GB, free: 10.82 MB / 0.9356 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.0006678/0.7384, allocations: 427 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.7385, allocations: 8.031 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.7386, allocations: 8.844 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.7387, allocations: 176.3 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.7388, allocations: 384 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.7388, allocations: 12.31 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.739, allocations: 69.97 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.739, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.739, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.739, allocations: 3.938 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.7392, allocations: 43.91 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.7398, allocations: 312.7 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.74, allocations: 46.56 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.7401, allocations: 36.95 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.7401, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.7404, allocations: 87.38 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.7404, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.7408, allocations: 141.5 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.7408, allocations: 55.41 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.7409, allocations: 125.7 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.741, allocations: 25.7 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.741, allocations: 88.14 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.7411, allocations: 11.81 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.7411, allocations: 33.7 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7413, allocations: 326.8 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.7413, allocations: 23.98 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.7414, allocations: 46.5 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.7416, allocations: 74.53 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7416, allocations: 4 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.7419, allocations: 113.5 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7419, allocations: 5.875 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7419, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7419, allocations: 4 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.7421, allocations: 15.92 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7421, allocations: 3.938 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.7421, allocations: 11.94 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.7422, allocations: 8.062 kB / 1.213 GB, free: 8.27 MB / 0.9356 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.569e-05/0.7423, allocations: 121.8 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.7423, allocations: 7.906 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.7423, allocations: 8.375 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7423, allocations: 4 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7424, allocations: 0 / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7424, allocations: 0 / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.7429, allocations: 386.4 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7429, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.7429, allocations: 7.984 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7429, allocations: 0 / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.743, allocations: 7.938 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.743, allocations: 4 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.743, allocations: 3.938 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.7433, allocations: 211.3 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.7433, allocations: 89 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.7433, allocations: 0 / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.7434, allocations: 8 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.7435, allocations: 7.922 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.7435, allocations: 4 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.7436, allocations: 91.92 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7436, allocations: 0 / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003222/0.7439, allocations: 43.92 kB / 1.214 GB, free: 7.18 MB / 0.9356 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.0003671/0.7443, allocations: 171.2 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.7445, allocations: 63.91 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7445, allocations: 0 / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.7447, allocations: 44.09 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.7449, allocations: 11.92 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.7454, allocations: 214 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.7457, allocations: 0.6846 MB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.7457, allocations: 11.42 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.7457, allocations: 0 / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.0036/0.7493, allocations: 1.617 MB / 1.217 GB, free: 4.324 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches