Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.0013/0.0013, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001466/0.001466, allocations: 216.8 kB / 22.99 MB, free: 4.945 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.789/2.789, allocations: 476 MB / 0.7707 GB, free: 4.738 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [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.00211/0.00211, allocations: 64.47 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3088, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003032/0.3118, allocations: 1.517 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3134, allocations: 0.7574 MB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.3134, allocations: 4 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.3135, allocations: 3.938 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.3135, allocations: 7.875 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.3141, allocations: 147.5 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3142, allocations: 75.78 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.3143, allocations: 12.11 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3145, allocations: 51.84 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.3145, allocations: 35.83 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3145, allocations: 8 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.3148, allocations: 139.7 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.3149, allocations: 15.98 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.3149, allocations: 27.86 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.3151, allocations: 143.5 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3152, allocations: 0 / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3152, allocations: 0 / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3152, allocations: 3.938 kB / 1.287 GB, free: 8.965 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.0006211/0.3158, allocations: 355.5 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3158, allocations: 12.03 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.3161, allocations: 28.91 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3163, allocations: 134.4 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3164, allocations: 4.375 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.3164, allocations: 8.312 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3166, allocations: 69.78 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3166, allocations: 4 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3166, allocations: 4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3166, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3167, allocations: 39.95 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.3173, allocations: 252.4 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3174, allocations: 46.5 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.3175, allocations: 28.97 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3175, allocations: 8 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.3177, allocations: 71.38 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3177, allocations: 7.938 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004025/0.3181, allocations: 145.8 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3181, allocations: 55.39 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3182, allocations: 118.1 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3183, allocations: 33.7 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.3183, allocations: 92.08 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3183, allocations: 27.91 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.3184, allocations: 29.7 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3185, allocations: 318.8 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.3186, allocations: 31.91 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.3187, allocations: 50.56 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3189, allocations: 74.48 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3189, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.3191, allocations: 117.5 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3191, allocations: 4 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3191, allocations: 4 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3192, allocations: 0 / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.3193, allocations: 11.98 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3193, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.3193, allocations: 4 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3193, allocations: 8 kB / 1.289 GB, free: 6.609 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.0001031/0.3194, allocations: 127.2 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.3195, allocations: 11.94 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.3195, allocations: 12.38 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3195, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.3199, allocations: 326.1 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3199, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.32, allocations: 7.984 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.32, allocations: 4 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.32, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.32, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.32, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.3203, allocations: 215.4 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.3203, allocations: 19.81 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3203, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.3204, allocations: 4 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.3204, allocations: 7.984 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3205, allocations: 7.938 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.38e-05/0.3205, allocations: 95.89 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3205, allocations: 3.938 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002912/0.3208, allocations: 43.86 kB / 1.29 GB, free: 5.676 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.0003687/0.3212, allocations: 167.7 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3214, allocations: 75.95 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3214, allocations: 4 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.3215, allocations: 35.95 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3218, allocations: 8.078 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.3222, allocations: 214.5 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.3223, allocations: 71.28 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.3223, allocations: 15.48 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3223, allocations: 7.938 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Templates: time 0.003643/0.326, allocations: 1.662 MB / 1.292 GB, free: 3.391 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.52185916993767]