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.001141/0.001141, allocations: 103.5 kB / 16.4 MB, free: 6.469 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.001066/0.001066, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 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.233/2.233, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8792/0.8806, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002724/0.8834, allocations: 1.501 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.8847, allocations: 0.7281 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.8847, allocations: 0 / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.8848, allocations: 6.266 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.8848, allocations: 13.62 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.8854, allocations: 125.7 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.8855, allocations: 68.59 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.8857, allocations: 20.08 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.8858, allocations: 38.52 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.8858, allocations: 33.19 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.8859, allocations: 6.875 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.8861, allocations: 94.33 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.8861, allocations: 20.11 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.8862, allocations: 34.67 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.8865, allocations: 138.5 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8865, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8865, allocations: 4 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8865, allocations: 0.625 kB / 1.091 GB, free: 3.715 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.0006937/0.8872, allocations: 424.2 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.8873, allocations: 9.844 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.8873, allocations: 8.578 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.8875, allocations: 169.5 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.8875, allocations: 4.109 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.8876, allocations: 7.781 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.8878, allocations: 75.95 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.8878, allocations: 1.438 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.8879, allocations: 0 / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.8879, allocations: 1.344 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.888, allocations: 37 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.8887, allocations: 322.5 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.8889, allocations: 49.06 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.889, allocations: 32.38 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.889, allocations: 1.438 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.8893, allocations: 81.3 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.8893, allocations: 4 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004654/0.8898, allocations: 145 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.8898, allocations: 54.75 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8899, allocations: 122.6 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.89, allocations: 27.03 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.89, allocations: 96.52 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.89, allocations: 8.594 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.8901, allocations: 32.12 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.8902, allocations: 323.6 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.8903, allocations: 27.67 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.8904, allocations: 49.95 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.8906, allocations: 76.41 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.8906, allocations: 5.094 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.8909, allocations: 108.2 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8909, allocations: 5.094 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8909, allocations: 1.859 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.8909, allocations: 1.031 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.891, allocations: 11.53 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.8911, allocations: 5.875 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.8911, allocations: 21.5 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.8912, allocations: 3.766 kB / 1.094 GB, free: 1.723 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.819e-05/0.8912, allocations: 123 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.8913, allocations: 11.73 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.8913, allocations: 11.3 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8913, allocations: 1.156 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8913, allocations: 0 / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8913, allocations: 0.6094 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.8917, allocations: 383 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8918, allocations: 0.875 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.8918, allocations: 8.688 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8918, allocations: 1.391 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8918, allocations: 1.547 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8918, allocations: 1.25 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8918, allocations: 3.938 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.8921, allocations: 212.3 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.8921, allocations: 79.72 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.8922, allocations: 8.906 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.8923, allocations: 5.172 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.8923, allocations: 8.812 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.8923, allocations: 3.047 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.8924, allocations: 91.78 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8924, allocations: 7.938 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003203/0.8927, allocations: 46.94 kB / 1.095 GB, free: 0.8633 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.0003624/0.8931, allocations: 164.9 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.8933, allocations: 68.39 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8934, allocations: 4 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.8935, allocations: 37.2 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.8937, allocations: 5.25 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.8941, allocations: 206.7 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.8943, allocations: 0.6868 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.8944, allocations: 16.06 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8944, allocations: 0 / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.004325/0.8987, allocations: 1.626 MB / 1.097 GB, free: 15.67 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