Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001381/0.001381, 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.001479/0.001479, allocations: 215.4 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.773/2.773, allocations: 476.8 MB / 0.7714 GB, free: 4.293 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [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.002053/0.002053, allocations: 64.86 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2789, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002678/0.2815, allocations: 1.547 MB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.283, allocations: 0.8548 MB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.2831, allocations: 0 / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.2831, allocations: 3.938 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.2832, allocations: 7.875 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.2838, allocations: 171.5 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.2839, allocations: 107.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.284, allocations: 7.984 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2842, allocations: 47.84 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.2842, allocations: 59.8 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2843, allocations: 12 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.2845, allocations: 143.8 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.2846, allocations: 23.91 kB / 1.288 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.2846, allocations: 43.78 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.2849, allocations: 179.4 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2849, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2849, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.2849, allocations: 0 / 1.288 GB, free: 7.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006503/0.2856, allocations: 389.2 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2856, allocations: 8.031 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.2861, allocations: 52.84 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2863, allocations: 144.4 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2863, allocations: 4.375 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2864, allocations: 4.375 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.2866, allocations: 101.8 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2866, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2866, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2867, allocations: 4 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.2868, allocations: 51.95 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.2876, allocations: 315.7 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.2877, allocations: 50.56 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2879, allocations: 48.83 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2879, allocations: 0 / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.2881, allocations: 91.34 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2881, allocations: 0 / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005837/0.2887, allocations: 197.7 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2887, allocations: 55.41 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2889, allocations: 125.8 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2889, allocations: 29.7 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.289, allocations: 92.09 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.289, allocations: 23.83 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.289, allocations: 25.72 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2892, allocations: 330.8 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.2893, allocations: 31.97 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2894, allocations: 60.28 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.2896, allocations: 100.1 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2896, allocations: 0 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.2898, allocations: 125.5 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2899, allocations: 4 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2899, allocations: 4 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2899, allocations: 0 / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.29, allocations: 28.02 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.29, allocations: 0 / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.2901, allocations: 7.953 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2901, allocations: 4 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000108/0.2902, allocations: 128.1 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2902, allocations: 11.94 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.2902, allocations: 12.31 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2903, allocations: 8 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2903, allocations: 4.062 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2903, allocations: 7.875 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.2909, allocations: 401.4 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2909, allocations: 0 / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.2909, allocations: 4 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2909, allocations: 0 / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2909, allocations: 7.984 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2909, allocations: 4 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2909, allocations: 3.938 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.2913, allocations: 247.4 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.2914, allocations: 7.953 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.2914, allocations: 0 / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2915, allocations: 11.98 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2915, allocations: 15.97 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2916, allocations: 3.984 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.2916, allocations: 97.94 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2916, allocations: 0 / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003266/0.292, allocations: 43.92 kB / 1.291 GB, free: 4.211 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000382/0.2923, allocations: 168.1 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.2926, allocations: 95.81 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2926, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2928, allocations: 51.89 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2931, allocations: 8.172 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.2935, allocations: 230.2 kB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2939, allocations: 0.6924 MB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.2939, allocations: 15.42 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.2939, allocations: 0 / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.003864/0.2978, allocations: 1.83 MB / 1.294 GB, free: 1.082 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.324264075985411]