Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Herkel2008WindowsTiltedOpen,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.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_latest_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.001366/0.001366, allocations: 100.4 kB / 16.41 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.001412/0.001412, allocations: 192.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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 60.36 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7784, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002386/0.7808, allocations: 1.491 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.782, allocations: 0.7245 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.7821, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.7821, allocations: 3.938 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.7822, allocations: 11.88 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.7827, allocations: 123.6 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.7828, allocations: 91.62 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.7829, allocations: 15.95 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.783, allocations: 35.91 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.7831, allocations: 39.83 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.7831, allocations: 8 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.7833, allocations: 91.84 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.7833, allocations: 19.98 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.7834, allocations: 31.8 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.7836, allocations: 139.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7836, allocations: 4 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7836, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.7836, allocations: 0 / 1.211 GB, free: 10.78 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.0006125/0.7842, allocations: 419 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.7843, allocations: 12.03 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.7843, allocations: 12.84 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.7844, allocations: 180.2 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.7845, allocations: 384 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.7845, allocations: 4.375 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.7847, allocations: 73.97 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7847, allocations: 3.984 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7847, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7847, allocations: 4 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.7848, allocations: 35.97 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.7854, allocations: 324.7 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.7855, allocations: 42.56 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.7856, allocations: 32.97 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7856, allocations: 4 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.7858, allocations: 87.42 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 4.098e-06/0.7858, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000377/0.7862, allocations: 141.4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.7862, allocations: 55.41 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.7863, allocations: 125.8 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.7864, allocations: 29.7 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.7864, allocations: 92.12 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.7864, allocations: 11.81 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.7865, allocations: 29.7 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.7866, allocations: 326.8 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.7867, allocations: 19.98 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.7868, allocations: 50.56 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.7869, allocations: 78.47 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7869, allocations: 0 / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.7872, allocations: 117.4 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.7872, allocations: 4 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.7872, allocations: 4.062 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.7872, allocations: 4 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.7873, allocations: 15.92 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.7873, allocations: 0 / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.7874, allocations: 11.94 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.7874, allocations: 4 kB / 1.213 GB, free: 8.227 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 8.052e-05/0.7875, allocations: 121.8 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.7875, allocations: 7.906 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.7876, allocations: 12.38 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7876, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7876, allocations: 4 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7876, allocations: 3.938 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.788, allocations: 378.4 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.788, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.7881, allocations: 7.984 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7881, allocations: 0 / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.7881, allocations: 4 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7881, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7881, allocations: 3.938 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.7884, allocations: 215.3 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.7884, allocations: 81.02 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.7884, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.7885, allocations: 4 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.7886, allocations: 19.92 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.7886, allocations: 4 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.7886, allocations: 91.27 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7886, allocations: 0 / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002881/0.7889, allocations: 43.92 kB / 1.214 GB, free: 7.137 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.0003113/0.7893, allocations: 168.3 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.7895, allocations: 71.91 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7895, allocations: 0 / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/0.7896, allocations: 39.95 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.7898, allocations: 9.875 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.7902, allocations: 210.1 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.7905, allocations: 0.6885 MB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.7905, allocations: 15.44 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.7905, allocations: 0 / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of Templates: time 0.003165/0.7937, allocations: 1.612 MB / 1.217 GB, free: 4.281 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches