Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001586/0.001586, 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.001755/0.001755, allocations: 217.6 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.745/2.745, allocations: 476 MB / 0.7707 GB, free: 4.707 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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [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.002092/0.002092, allocations: 70.78 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.296, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003186/0.2992, allocations: 1.518 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3008, allocations: 0.7535 MB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.3009, allocations: 4 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.3009, allocations: 11.92 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.301, allocations: 7.875 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.3017, allocations: 147.5 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3018, allocations: 75.77 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.3019, allocations: 12.12 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.3021, allocations: 47.83 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.3022, allocations: 35.84 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3022, allocations: 8 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.3025, allocations: 135.7 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.3025, allocations: 19.98 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.3026, allocations: 27.86 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3029, allocations: 155.5 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3029, allocations: 0 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3029, allocations: 0 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3029, allocations: 0 / 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.0006447/0.3035, allocations: 347.5 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3035, allocations: 12.03 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.3039, allocations: 32.91 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3041, allocations: 134.4 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3041, allocations: 12.36 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.3042, allocations: 8.312 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3044, allocations: 69.78 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3044, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3044, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3044, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3045, allocations: 39.97 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.3051, allocations: 248.5 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3052, allocations: 46.5 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.3053, allocations: 36.95 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3053, allocations: 0 / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.3055, allocations: 79.38 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3055, allocations: 0 / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003985/0.3059, allocations: 141.5 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3059, allocations: 55.41 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.306, allocations: 122.1 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3061, allocations: 29.7 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.3061, allocations: 96.16 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3062, allocations: 15.84 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.3062, allocations: 33.64 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3064, allocations: 326.8 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.3065, allocations: 31.92 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.3066, allocations: 50.55 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3067, allocations: 70.5 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3067, allocations: 0 / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002392/0.307, allocations: 109.5 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.307, allocations: 4 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.307, allocations: 8.062 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.307, allocations: 0 / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.3071, allocations: 15.98 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3071, allocations: 0 / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.3072, allocations: 4 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3072, allocations: 7.984 kB / 1.289 GB, free: 6.621 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.0001148/0.3073, allocations: 127 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.3073, allocations: 7.938 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.3073, allocations: 12.38 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3073, allocations: 4 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3073, allocations: 0 / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3074, allocations: 3.984 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.3078, allocations: 326.1 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3078, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.3079, allocations: 4 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3079, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3079, allocations: 4 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3079, allocations: 4.469 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3079, allocations: 4 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.3082, allocations: 219.4 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3082, allocations: 15.89 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3083, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.3083, allocations: 11.92 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3084, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3084, allocations: 11.92 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.431e-05/0.3085, allocations: 95.27 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3085, allocations: 3.938 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003156/0.3088, allocations: 39.94 kB / 1.29 GB, free: 5.68 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.0003997/0.3092, allocations: 164.1 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3094, allocations: 75.88 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3094, allocations: 0 / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3095, allocations: 23.98 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3098, allocations: 12.12 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.3102, allocations: 214.5 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/0.3103, allocations: 79.27 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3104, allocations: 7.438 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3104, allocations: 3.938 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of Templates: time 0.004105/0.3145, allocations: 1.67 MB / 1.292 GB, free: 3.402 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.382235320750624]