Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 215.2 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.709/2.709, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 68.89 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 169.9 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002635/0.3152, allocations: 1.549 MB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3166, allocations: 0.8119 MB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.3166, allocations: 0 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.3167, allocations: 7.922 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.3167, allocations: 15.88 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.3173, allocations: 143.5 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3174, allocations: 75.77 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.3175, allocations: 12.12 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3176, allocations: 51.83 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.3177, allocations: 39.84 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3177, allocations: 4 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.318, allocations: 147.7 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.318, allocations: 15.98 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.3181, allocations: 35.73 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3183, allocations: 155.5 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3183, allocations: 0 / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3183, allocations: 0 / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3183, allocations: 0 / 1.288 GB, free: 8.203 MB / 0.9825 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.0005886/0.3189, allocations: 343.6 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.319, allocations: 12.03 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.3193, allocations: 32.86 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3195, allocations: 136.9 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.3195, allocations: 12.36 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.3195, allocations: 4.375 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3197, allocations: 69.78 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3197, allocations: 4 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3197, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3197, allocations: 3.938 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3199, allocations: 39.97 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3204, allocations: 287.8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3206, allocations: 42.56 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.3206, allocations: 28.97 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3206, allocations: 8 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3208, allocations: 75.38 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3208, allocations: 0 / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.3212, allocations: 141.5 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3212, allocations: 59.39 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3213, allocations: 122.1 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3214, allocations: 25.7 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.3214, allocations: 104.1 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3214, allocations: 15.84 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.3215, allocations: 29.7 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3216, allocations: 322.8 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.3217, allocations: 27.98 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.3218, allocations: 46.56 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.322, allocations: 74.48 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.322, allocations: 0 / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002402/0.3222, allocations: 113.5 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3222, allocations: 8.062 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3222, allocations: 4 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3222, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.3223, allocations: 11.98 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3223, allocations: 0 / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.3224, allocations: 7.938 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3224, allocations: 7.938 kB / 1.29 GB, free: 5.816 MB / 0.9825 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 0.000101/0.3225, allocations: 125.7 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.3225, allocations: 15.95 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.3226, allocations: 12.36 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.323, allocations: 357.4 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.323, allocations: 0 / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.3231, allocations: 4 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3231, allocations: 11.98 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3231, allocations: 4 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3231, allocations: 3.938 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3231, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.3234, allocations: 203.5 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.3234, allocations: 11.88 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3234, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.3235, allocations: 11.94 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3235, allocations: 11.92 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3235, allocations: 4 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.3236, allocations: 96.52 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3236, allocations: 0 / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002873/0.3239, allocations: 39.92 kB / 1.291 GB, free: 4.844 MB / 0.9825 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.0003464/0.3242, allocations: 162 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3245, allocations: 71.89 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3245, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.613e-05/0.3246, allocations: 39.91 kB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3248, allocations: 4 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.3252, allocations: 225.6 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3255, allocations: 0.6846 MB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.3256, allocations: 15.42 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3256, allocations: 0 / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.003667/0.3292, allocations: 1.639 MB / 1.293 GB, free: 1.969 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.440216047980357]