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.001766/0.001766, allocations: 102.3 kB / 19.7 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.002107/0.002107, allocations: 220.2 kB / 23.01 MB, free: 4.609 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.7 MB / 0.7714 GB, free: 4.277 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.002066/0.002066, allocations: 67.19 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2854, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002903/0.2883, allocations: 1.675 MB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.29, allocations: 0.9054 MB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.2901, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.2901, allocations: 7.875 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.2902, allocations: 31.72 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.2909, allocations: 191.5 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2911, allocations: 155.5 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.2912, allocations: 13.31 kB / 1.288 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.2913, allocations: 75.81 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.2915, allocations: 79.72 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2915, allocations: 12 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.2918, allocations: 155.7 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.2919, allocations: 35.89 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.2919, allocations: 63.66 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2923, allocations: 219.2 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2923, allocations: 0 / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2923, allocations: 0 / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2923, allocations: 0 / 1.288 GB, free: 7.641 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.000843/0.2931, allocations: 492.3 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2932, allocations: 12.03 kB / 1.289 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.2939, allocations: 80.77 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.2942, allocations: 150.3 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2942, allocations: 12.31 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.2942, allocations: 8.375 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.2946, allocations: 137.9 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2947, allocations: 3.938 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.2947, allocations: 8 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2947, allocations: 0 / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.2951, allocations: 99.91 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.2959, allocations: 363.6 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2962, allocations: 102.4 kB / 1.29 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.2965, allocations: 84.78 kB / 1.29 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2965, allocations: 0 / 1.29 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/0.2969, allocations: 135.3 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2969, allocations: 4 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001105/0.298, allocations: 313.3 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2981, allocations: 51.41 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2983, allocations: 152.2 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2983, allocations: 33.7 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.2983, allocations: 100.4 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2984, allocations: 23.8 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.2984, allocations: 29.7 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2986, allocations: 330.8 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2987, allocations: 43.91 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2989, allocations: 81.11 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.2992, allocations: 125 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2992, allocations: 0 / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003711/0.2995, allocations: 165.4 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2995, allocations: 8 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2996, allocations: 0 / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2996, allocations: 4.375 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.2997, allocations: 19.92 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2997, allocations: 4 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2998, allocations: 15.94 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2999, allocations: 16.06 kB / 1.291 GB, free: 4.246 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.0001158/0.3, allocations: 119.5 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.3, allocations: 15.94 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.3, allocations: 8.719 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3, allocations: 4 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3, allocations: 0 / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3, allocations: 3.938 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3011, allocations: 0.5052 MB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3011, allocations: 0 / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.3012, allocations: 12.09 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3012, allocations: 11.94 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3012, allocations: 7.984 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3012, allocations: 3.938 kB / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3012, allocations: 0 / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.302, allocations: 327.3 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.302, allocations: 11.91 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.302, allocations: 4 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3023, allocations: 23.91 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3023, allocations: 7.984 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3023, allocations: 15.98 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.388e-05/0.3024, allocations: 110.5 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3024, allocations: 0 / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003464/0.3028, allocations: 51.86 kB / 1.292 GB, free: 2.945 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.0003928/0.3032, allocations: 169.4 kB / 1.293 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.3037, allocations: 143.8 kB / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3037, allocations: 0 / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.304, allocations: 92.16 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3043, allocations: 14 kB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.3051, allocations: 286.3 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3054, allocations: 0.7041 MB / 1.294 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.3054, allocations: 19.42 kB / 1.294 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3054, allocations: 0 / 1.294 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of Templates: time 0.004446/0.3099, allocations: 2.209 MB / 1.296 GB, free: 15.27 MB / 0.9981 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.533977451006649]