Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.001861/0.001861, 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.002112/0.002112, 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.797/2.797, allocations: 476 MB / 0.7707 GB, free: 4.723 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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") [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.002211/0.002211, allocations: 68.38 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2949, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003315/0.2982, allocations: 1.639 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3001, allocations: 0.8354 MB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.3002, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.3002, allocations: 15.8 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.3003, allocations: 23.8 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.3011, allocations: 191.4 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.3014, allocations: 155.5 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3015, allocations: 17.3 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3016, allocations: 83.62 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3018, allocations: 71.72 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.3018, allocations: 16 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.3021, allocations: 143.8 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.3022, allocations: 43.88 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.3023, allocations: 43.78 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.3026, allocations: 219.2 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3026, allocations: 4 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3026, allocations: 0 / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3026, allocations: 0 / 1.287 GB, free: 8.406 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008437/0.3035, allocations: 484.3 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3035, allocations: 12.03 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.3042, allocations: 80.77 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3045, allocations: 155.5 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.3046, allocations: 8.375 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3046, allocations: 8.375 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.305, allocations: 145.8 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3051, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3051, allocations: 3.984 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3051, allocations: 4 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.3055, allocations: 99.91 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.3063, allocations: 312.2 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.3066, allocations: 102.5 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.307, allocations: 80.78 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.307, allocations: 0 / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.3074, allocations: 147.2 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3074, allocations: 0 / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001152/0.3086, allocations: 309.6 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3086, allocations: 55.41 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3088, allocations: 156 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3088, allocations: 29.8 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.3089, allocations: 104.3 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.3089, allocations: 31.78 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.309, allocations: 29.7 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3092, allocations: 326.8 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3093, allocations: 39.97 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.3095, allocations: 81.12 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3098, allocations: 129 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3098, allocations: 4.109 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003691/0.3101, allocations: 157.3 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3102, allocations: 8 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3102, allocations: 128 / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3102, allocations: 8 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3103, allocations: 19.97 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3103, allocations: 4 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3104, allocations: 11.95 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3105, allocations: 11.98 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.0001166/0.3106, allocations: 121.7 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3106, allocations: 15.95 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.3106, allocations: 12.72 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3107, allocations: 8 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3107, allocations: 0 / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3107, allocations: 3.984 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.3117, allocations: 474 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3117, allocations: 0 / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.3118, allocations: 11.98 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3118, allocations: 0 / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3118, allocations: 3.984 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3118, allocations: 4 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3118, allocations: 3.938 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.3127, allocations: 335.3 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.3127, allocations: 11.91 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.3127, allocations: 8 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3129, allocations: 20.06 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.313, allocations: 23.91 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.313, allocations: 7.922 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.823e-05/0.3131, allocations: 114.5 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3131, allocations: 0 / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003466/0.3135, allocations: 47.88 kB / 1.291 GB, free: 3.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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004332/0.3139, allocations: 166.5 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.3144, allocations: 139.8 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3144, allocations: 0 / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.3148, allocations: 92.2 kB / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3151, allocations: 18.09 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.3158, allocations: 290.3 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.3159, allocations: 97.05 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.316, allocations: 15.44 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.316, allocations: 0 / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of Templates: time 0.004721/0.3207, allocations: 2.245 MB / 1.294 GB, free: 0.7305 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.510067932773381]