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.001665/0.001665, allocations: 103.6 kB / 16.4 MB, free: 5.977 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.001868/0.001869, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.466/2.466, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7788, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002797/0.7817, allocations: 1.51 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.783, allocations: 0.7284 MB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.7831, allocations: 0 / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.7832, allocations: 7.938 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.7833, allocations: 11.86 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.7839, allocations: 123.6 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.7841, allocations: 79.77 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.7842, allocations: 8 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.7843, allocations: 39.84 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.7844, allocations: 39.83 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.7844, allocations: 8 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.7847, allocations: 95.91 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.7847, allocations: 11.98 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.7848, allocations: 39.72 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.785, allocations: 147.3 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7851, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7851, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.7851, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 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.0006784/0.7858, allocations: 423 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7858, allocations: 8.625 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.7859, allocations: 8.844 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.786, allocations: 168.3 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.786, allocations: 4.375 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7861, allocations: 4.375 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.7863, allocations: 69.97 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.7863, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7863, allocations: 11.92 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7863, allocations: 4 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.7865, allocations: 31.98 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.7871, allocations: 320.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.7873, allocations: 46.56 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.7874, allocations: 32.97 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.7874, allocations: 7.844 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.7876, allocations: 75.38 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.7876, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004002/0.788, allocations: 137.6 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.788, allocations: 59.34 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.7882, allocations: 129.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.7882, allocations: 25.7 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.7882, allocations: 92.08 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.7883, allocations: 19.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.7883, allocations: 29.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7884, allocations: 318.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.7885, allocations: 23.98 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.7886, allocations: 50.55 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.7888, allocations: 70.55 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7888, allocations: 3.938 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002308/0.789, allocations: 117.5 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7891, allocations: 8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7891, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7891, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.7892, allocations: 8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.7892, allocations: 7.984 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.7893, allocations: 11.94 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.7893, allocations: 3.938 kB / 1.172 GB, free: 14.45 MB / 0.9044 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.751e-05/0.7894, allocations: 125.8 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.7894, allocations: 3.906 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.7895, allocations: 20.3 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.7895, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7895, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.7895, allocations: 3.984 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.7899, allocations: 378.4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7899, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.79, allocations: 8 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.79, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.79, allocations: 7.984 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.79, allocations: 480 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.79, allocations: 7.875 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.7903, allocations: 211.4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.7904, allocations: 85.02 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.7904, allocations: 7.984 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.7905, allocations: 4 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.7905, allocations: 11.94 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.7906, allocations: 3.984 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.711e-05/0.7906, allocations: 95.92 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7906, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003083/0.7909, allocations: 39.94 kB / 1.173 GB, free: 13.35 MB / 0.9044 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.0003385/0.7913, allocations: 158.2 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.7915, allocations: 75.89 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7915, allocations: 0 / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.7916, allocations: 35.92 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.7919, allocations: 12.67 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.7923, allocations: 202.1 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.7926, allocations: 0.6923 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.7927, allocations: 15.44 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.7927, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.003592/0.7963, allocations: 1.619 MB / 1.176 GB, free: 10.49 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches