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.001317/0.001317, allocations: 110.2 kB / 19.69 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.001529/0.001529, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.749/2.749, allocations: 476.7 MB / 0.7714 GB, free: 4.27 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.002078/0.002078, allocations: 65.56 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2949, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002723/0.2976, allocations: 1.533 MB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2991, allocations: 0.8274 MB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.2991, allocations: 3.938 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.2991, allocations: 3.938 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.2992, allocations: 11.88 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.2998, allocations: 139.6 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.2999, allocations: 83.69 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.3, allocations: 16.11 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3001, allocations: 35.92 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.3002, allocations: 39.83 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3002, allocations: 8 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3005, allocations: 151.7 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.3005, allocations: 15.97 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.3006, allocations: 31.8 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.3008, allocations: 147.5 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3008, allocations: 3.938 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3008, allocations: 0 / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3008, allocations: 0 / 1.288 GB, free: 8.18 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.0006151/0.3014, allocations: 351.5 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3015, allocations: 16.03 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.3018, allocations: 24.92 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.302, allocations: 138.4 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.302, allocations: 4.375 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.302, allocations: 4.375 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3022, allocations: 69.78 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3022, allocations: 4 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3023, allocations: 8 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3023, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3024, allocations: 39.91 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.3029, allocations: 291.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3031, allocations: 46.56 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.3032, allocations: 28.95 kB / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3032, allocations: 4.062 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3033, allocations: 83.31 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3033, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000411/0.3038, allocations: 133.6 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3038, allocations: 59.41 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3039, allocations: 124.4 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3039, allocations: 25.7 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.304, allocations: 96.09 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.304, allocations: 19.83 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.3041, allocations: 29.7 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3042, allocations: 322.8 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.3043, allocations: 31.98 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.3044, allocations: 50.48 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3045, allocations: 70.86 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3045, allocations: 0 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002342/0.3048, allocations: 113.5 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3048, allocations: 8 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3048, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3048, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.3049, allocations: 19.92 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.3049, allocations: 4 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.305, allocations: 4 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.305, allocations: 3.984 kB / 1.29 GB, free: 5.785 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.0001014/0.3051, allocations: 125.8 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.3051, allocations: 3.953 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.3051, allocations: 16.31 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3051, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3051, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3052, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3056, allocations: 365.4 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3056, allocations: 4 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3057, allocations: 3.984 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3057, allocations: 4 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3057, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3057, allocations: 3.938 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3057, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.306, allocations: 211.4 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.306, allocations: 11.89 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.306, allocations: 8 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.3061, allocations: 7.875 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3061, allocations: 7.984 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3061, allocations: 0 / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.3062, allocations: 100 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 0 / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002952/0.3065, allocations: 39.92 kB / 1.291 GB, free: 4.812 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.0003628/0.3069, allocations: 158.8 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3071, allocations: 71.89 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3071, allocations: 0 / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.3072, allocations: 36.36 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3075, allocations: 15.67 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.3079, allocations: 218.5 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3082, allocations: 0.6924 MB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.3082, allocations: 7.438 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3082, allocations: 0 / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.003736/0.312, allocations: 1.651 MB / 1.293 GB, free: 1.93 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.431029564992059]