Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 105.3 kB / 16.41 MB, free: 6.023 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.001794/0.001794, allocations: 189.7 kB / 17.34 MB, free: 5.609 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7773, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002725/0.7801, allocations: 1.507 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.7813, allocations: 0.7206 MB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.7814, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.7814, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.7815, allocations: 15.91 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.7821, allocations: 123.6 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.7822, allocations: 79.77 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.7823, allocations: 11.95 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.7824, allocations: 43.89 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.7825, allocations: 35.84 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.7825, allocations: 4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.7827, allocations: 99.84 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.7828, allocations: 11.98 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.7828, allocations: 35.78 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.783, allocations: 147.3 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.783, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.783, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.783, allocations: 3.984 kB / 1.211 GB, free: 10.76 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.0005881/0.7836, allocations: 422.9 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7837, allocations: 8.031 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.7837, allocations: 12.84 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7839, allocations: 176.2 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.7839, allocations: 4.375 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.7839, allocations: 4.375 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.7841, allocations: 69.97 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.7841, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7841, allocations: 4 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.7841, allocations: 0 / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.7843, allocations: 43.91 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.7848, allocations: 316.7 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.785, allocations: 46.56 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.7851, allocations: 32.95 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.7851, allocations: 8 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.7853, allocations: 79.31 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.7853, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.7857, allocations: 141.5 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.7857, allocations: 51.41 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.7858, allocations: 129.7 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.7859, allocations: 29.7 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.7859, allocations: 88.14 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.7859, allocations: 15.81 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.786, allocations: 29.7 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.7861, allocations: 322.8 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.7862, allocations: 23.98 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.7863, allocations: 54.5 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.7865, allocations: 66.55 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7865, allocations: 0 / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002289/0.7867, allocations: 113.5 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7867, allocations: 12.06 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7867, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.7867, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.7868, allocations: 15.92 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7869, allocations: 4 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.7869, allocations: 11.94 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.787, allocations: 7.984 kB / 1.213 GB, free: 8.215 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.178e-05/0.7871, allocations: 121.8 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.7871, allocations: 7.906 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.7871, allocations: 12.38 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.7871, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7871, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7871, allocations: 7.875 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.7876, allocations: 382.8 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7876, allocations: 0 / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.7876, allocations: 7.984 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.7876, allocations: 7.984 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.7877, allocations: 4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7877, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7877, allocations: 3.938 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.7879, allocations: 219.3 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.788, allocations: 81.02 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.788, allocations: 0 / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.7881, allocations: 4 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.7881, allocations: 19.92 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.7882, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.7882, allocations: 95.27 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7882, allocations: 0 / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002972/0.7885, allocations: 43.92 kB / 1.214 GB, free: 7.113 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.0003185/0.7888, allocations: 154.2 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.7891, allocations: 71.84 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7891, allocations: 0 / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.7892, allocations: 39.91 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.7895, allocations: 8 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.7899, allocations: 214.1 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.7901, allocations: 0.6846 MB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.7902, allocations: 19.42 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7902, allocations: 0 / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.003539/0.7937, allocations: 1.617 MB / 1.217 GB, free: 4.266 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches