Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 160.8 MB / 1.214 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002648/0.2998, allocations: 1.491 MB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3011, allocations: 0.7486 MB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.3012, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.3012, allocations: 3.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.3013, allocations: 15.86 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.3018, allocations: 123.6 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3019, allocations: 79.7 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.302, allocations: 12 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.3021, allocations: 47.83 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.3022, allocations: 31.91 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3022, allocations: 4 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.3024, allocations: 111.8 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.3024, allocations: 15.97 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.3025, allocations: 31.86 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3027, allocations: 143.5 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3027, allocations: 4 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3027, allocations: 0 / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3027, allocations: 4 kB / 1.217 GB, free: 14.09 MB / 0.9669 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.0006767/0.3034, allocations: 416.7 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3035, allocations: 16.02 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.3035, allocations: 8.891 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3036, allocations: 176.3 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.3037, allocations: 384 / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3037, allocations: 4.375 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3039, allocations: 81.89 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3039, allocations: 4 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3039, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3039, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.304, allocations: 35.97 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.3047, allocations: 308.8 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3048, allocations: 54.48 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.3049, allocations: 28.97 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3049, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3051, allocations: 75.38 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3051, allocations: 4 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004241/0.3056, allocations: 141.6 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3056, allocations: 59.41 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3057, allocations: 121.8 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3057, allocations: 29.7 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3058, allocations: 88.14 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3058, allocations: 19.83 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.3059, allocations: 29.66 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.306, allocations: 330.8 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.3061, allocations: 19.98 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3062, allocations: 55.41 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3064, allocations: 95.33 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3064, allocations: 0 / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002675/0.3067, allocations: 117.5 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3067, allocations: 4 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3067, allocations: 0 / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3067, allocations: 4 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.3068, allocations: 15.92 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3068, allocations: 320 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.3069, allocations: 8.062 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3069, allocations: 4 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001087/0.307, allocations: 125.8 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.307, allocations: 3.953 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.307, allocations: 12.38 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.307, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.307, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.307, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.3075, allocations: 398.3 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3075, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.3076, allocations: 7.984 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3076, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3076, allocations: 4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3076, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3076, allocations: 3.938 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3079, allocations: 215.4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.308, allocations: 85.06 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.308, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.3081, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3081, allocations: 11.98 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3081, allocations: 4 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.3082, allocations: 95.27 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3082, allocations: 4 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003116/0.3085, allocations: 39.92 kB / 1.22 GB, free: 10.44 MB / 0.9669 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,occ.y,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.0003816/0.3089, allocations: 162.9 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.3091, allocations: 71.89 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3091, allocations: 128 / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3092, allocations: 39.91 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.3095, allocations: 4 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.3099, allocations: 209.9 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3103, allocations: 0.6846 MB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3103, allocations: 19.42 kB / 1.221 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3103, allocations: 4 kB / 1.221 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of Templates: time 0.003857/0.3142, allocations: 1.624 MB / 1.223 GB, free: 7.574 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: 10.901797622209415]