Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Herkel2008WindowsCompletelyOpen,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.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_9_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.001452/0.001452, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001436/0.001436, allocations: 187 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.06 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.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7967, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002337/0.7991, allocations: 1.502 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.8002, allocations: 0.7307 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.8003, allocations: 1.094 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.8003, allocations: 12.48 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.8004, allocations: 6.375 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.8009, allocations: 121.6 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.801, allocations: 80.92 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.8011, allocations: 15 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.8012, allocations: 31.75 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.8013, allocations: 40.73 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.8013, allocations: 7.031 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.8016, allocations: 98.31 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.8016, allocations: 18.55 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.8017, allocations: 27.47 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.8019, allocations: 142.3 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.802, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.802, allocations: 0.8125 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.802, allocations: 0 / 1.091 GB, free: 3.727 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.000545/0.8025, allocations: 432.9 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.8026, allocations: 8.844 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.8026, allocations: 9.875 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/0.8027, allocations: 168.9 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.8027, allocations: 3.25 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.8027, allocations: 5.125 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8029, allocations: 72.89 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.8029, allocations: 0 / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.8029, allocations: 1.156 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.803, allocations: 4.969 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.8031, allocations: 39.69 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.8036, allocations: 318.3 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.8037, allocations: 45.83 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.8038, allocations: 36.17 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.8039, allocations: 1.438 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.804, allocations: 84.64 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8041, allocations: 0.6875 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003733/0.8044, allocations: 132.7 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.8045, allocations: 58.67 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.8046, allocations: 122.6 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.8046, allocations: 27.97 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.8046, allocations: 91.28 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.8046, allocations: 16.64 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.8047, allocations: 28.72 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.8047, allocations: 323.8 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.8048, allocations: 26.91 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.8049, allocations: 58.98 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.8051, allocations: 68.14 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8051, allocations: 1.156 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.8053, allocations: 120.6 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8053, allocations: 4.656 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8053, allocations: 1.609 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8054, allocations: 1.094 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.8055, allocations: 15.55 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8055, allocations: 2 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.8055, allocations: 12.75 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.8056, allocations: 8.297 kB / 1.094 GB, free: 1.734 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 6.619e-05/0.8056, allocations: 127.8 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.8057, allocations: 7.062 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.8057, allocations: 11.41 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8057, allocations: 0.875 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8057, allocations: 0 / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8057, allocations: 1.547 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.8061, allocations: 378.5 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8061, allocations: 1.031 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.8062, allocations: 8.75 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8062, allocations: 1.125 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.8062, allocations: 2.281 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8062, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8062, allocations: 5.141 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.8065, allocations: 211.4 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.8065, allocations: 80.03 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.8065, allocations: 9.219 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.8066, allocations: 4.438 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.8067, allocations: 12.47 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.8067, allocations: 3.875 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.8067, allocations: 92.5 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8067, allocations: 3.938 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003094/0.807, allocations: 46.02 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.0003038/0.8073, allocations: 160.6 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.8076, allocations: 75.89 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8076, allocations: 0 / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.8077, allocations: 33.77 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.808, allocations: 13.72 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.0003522/0.8083, allocations: 209.1 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.8085, allocations: 0.6861 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.8085, allocations: 16.14 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8085, allocations: 0.6875 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.003949/0.8125, allocations: 1.624 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches