Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.001472/0.001472, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001706/0.001706, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8601/0.8614, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002702/0.8642, allocations: 1.514 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.8654, allocations: 0.7285 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.8655, allocations: 1.125 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.8655, allocations: 5.391 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-05/0.8656, allocations: 13.56 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.8662, allocations: 121.6 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.8663, allocations: 77.27 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.8664, allocations: 11.62 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.8665, allocations: 35.88 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.8666, allocations: 40.55 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.8666, allocations: 10.59 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.8668, allocations: 90.25 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.8669, allocations: 19.38 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.8669, allocations: 32.05 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.8672, allocations: 141.1 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8672, allocations: 4.75 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8672, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8673, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 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.0006421/0.8679, allocations: 424.3 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.868, allocations: 14.06 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.868, allocations: 8.438 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.8681, allocations: 169.9 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.8681, allocations: 7.531 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.8682, allocations: 4.469 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.8683, allocations: 72.59 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8684, allocations: 0 / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8684, allocations: 5.359 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.8684, allocations: 0.7188 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.8685, allocations: 39.81 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.8691, allocations: 314.8 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.8692, allocations: 46.17 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.8693, allocations: 36.34 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.8694, allocations: 8.719 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.8696, allocations: 73.91 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.8696, allocations: 0 / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004119/0.87, allocations: 137.1 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.87, allocations: 53.98 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.8701, allocations: 123.5 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.8701, allocations: 30.61 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.8702, allocations: 92.17 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.8702, allocations: 19.31 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.8703, allocations: 26.25 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.8703, allocations: 323.3 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.8704, allocations: 30.91 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.8705, allocations: 50.77 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.8707, allocations: 69.14 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8707, allocations: 0 / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002376/0.8709, allocations: 120.1 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.871, allocations: 9.438 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.871, allocations: 5.094 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.871, allocations: 2.578 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.8711, allocations: 11.33 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8711, allocations: 0.9688 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.8712, allocations: 13.91 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.8712, allocations: 3.859 kB / 1.094 GB, free: 1.738 MB / 0.8575 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 7.525e-05/0.8713, allocations: 127.6 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.8713, allocations: 11.72 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.8713, allocations: 10.52 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8713, allocations: 4.875 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8714, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.8714, allocations: 1.609 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.8718, allocations: 377.8 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.8718, allocations: 1.484 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.8719, allocations: 4.75 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8719, allocations: 4.656 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.8719, allocations: 2.594 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8719, allocations: 0.6562 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8719, allocations: 8.875 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.8721, allocations: 207 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.8722, allocations: 79.5 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.8722, allocations: 6.016 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.8723, allocations: 8.375 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.8724, allocations: 8.906 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.8724, allocations: 7.453 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.8724, allocations: 92.02 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8724, allocations: 0 / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003213/0.8727, allocations: 46.2 kB / 1.095 GB, free: 0.8789 MB / 0.8575 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.0003283/0.8731, allocations: 159.2 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.8733, allocations: 72.34 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8733, allocations: 0 / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.8734, allocations: 42.61 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.8737, allocations: 8.625 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.8741, allocations: 208.4 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.8743, allocations: 0.6875 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.8743, allocations: 12 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8743, allocations: 0.7188 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.004205/0.8786, allocations: 1.632 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches