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.001444/0.001444, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001522/0.001522, allocations: 161.1 kB / 22.46 MB, free: 5.375 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.731/2.731, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.487e-05/3.674e-05, allocations: 8.953 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003679/0.003716, allocations: 1.642 MB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.005859, allocations: 0.8457 MB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.00597, allocations: 0 / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.006022, allocations: 7.875 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.006159, allocations: 27.72 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.007112, allocations: 191.3 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.007449, allocations: 163.5 kB / 0.9538 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.007579, allocations: 13.3 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.007894, allocations: 103.8 kB / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.008054, allocations: 63.84 kB / 0.9539 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.008096, allocations: 12 kB / 0.9539 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.008463, allocations: 143.7 kB / 0.9541 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.00852, allocations: 31.89 kB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.008616, allocations: 59.77 kB / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.009088, allocations: 243.4 kB / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.009094, allocations: 4 kB / 0.9544 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/0.009097, allocations: 0 / 0.9544 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.009108, allocations: 0 / 0.9544 GB, free: 8.031 MB / 0.8575 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.0009907/0.0101, allocations: 488.3 kB / 0.9549 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.01014, allocations: 8.031 kB / 0.9549 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.01097, allocations: 84.77 kB / 0.955 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.01132, allocations: 153.5 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.01136, allocations: 8.375 kB / 0.9551 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.01139, allocations: 4.375 kB / 0.9551 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.01194, allocations: 150 kB / 0.9553 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01195, allocations: 192 / 0.9553 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.01197, allocations: 384 / 0.9553 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.01198, allocations: 3.938 kB / 0.9553 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.01246, allocations: 107.9 kB / 0.9554 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.01334, allocations: 308.3 kB / 0.9557 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.01377, allocations: 90.5 kB / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.01413, allocations: 84.73 kB / 0.9558 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.01417, allocations: 4 kB / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.01465, allocations: 139.2 kB / 0.956 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.01466, allocations: 8 kB / 0.956 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.00135/0.01601, allocations: 313.3 kB / 0.9563 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.01606, allocations: 51.52 kB / 0.9563 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01623, allocations: 161.1 kB / 0.9565 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.01627, allocations: 33.69 kB / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.01636, allocations: 104.3 kB / 0.9566 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.0164, allocations: 27.78 kB / 0.9566 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.01648, allocations: 29.7 kB / 0.9567 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01665, allocations: 322.8 kB / 0.957 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.0168, allocations: 43.97 kB / 0.957 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.01699, allocations: 77.12 kB / 0.9571 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.01733, allocations: 117 kB / 0.9572 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01733, allocations: 4 kB / 0.9572 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004611/0.01779, allocations: 165.3 kB / 0.9574 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01781, allocations: 4 kB / 0.9574 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01782, allocations: 4 kB / 0.9574 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01784, allocations: 0 / 0.9574 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.018, allocations: 23.97 kB / 0.9574 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01801, allocations: 4.5 kB / 0.9574 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01813, allocations: 15.94 kB / 0.9574 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.01815, allocations: 4 kB / 0.9574 GB, free: 4.715 MB / 0.8575 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.0001576/0.0183, allocations: 129.7 kB / 0.9575 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.01834, allocations: 15.83 kB / 0.9575 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.01838, allocations: 16.77 kB / 0.9576 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.01839, allocations: 4 kB / 0.9576 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01839, allocations: 0 / 0.9576 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01839, allocations: 4 kB / 0.9576 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.01954, allocations: 470 kB / 0.958 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.01954, allocations: 3.984 kB / 0.958 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.01964, allocations: 15.98 kB / 0.958 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01964, allocations: 4 kB / 0.958 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01966, allocations: 0 / 0.958 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01966, allocations: 0 / 0.958 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01966, allocations: 0 / 0.958 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009394/0.0206, allocations: 339.2 kB / 0.9584 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.02062, allocations: 12 kB / 0.9584 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.02066, allocations: 3.984 kB / 0.9584 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.0209, allocations: 23.97 kB / 0.9584 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.02099, allocations: 11.97 kB / 0.9584 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.02101, allocations: 7.938 kB / 0.9584 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001065/0.02111, allocations: 117.4 kB / 0.9585 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.02111, allocations: 4 kB / 0.9585 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003976/0.02151, allocations: 51.86 kB / 0.9586 GB, free: 3.449 MB / 0.8575 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.0004784/0.02199, allocations: 168.8 kB / 0.9587 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006134/0.0226, allocations: 139.8 kB / 0.9589 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0226, allocations: 0 / 0.9589 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.02299, allocations: 83.86 kB / 0.959 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.02331, allocations: 28.09 kB / 0.959 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.02417, allocations: 253.4 kB / 0.9592 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.02426, allocations: 89.17 kB / 0.9593 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.479e-05/0.02432, allocations: 8.734 kB / 0.9593 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.02437, allocations: 16.48 kB / 0.9593 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of SimCode: time 6.22e-07/0.02437, allocations: 0 / 0.9593 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of Templates: time 0.006751/0.03112, allocations: 2.076 MB / 0.9614 GB, free: 0.582 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.191871777176857]