Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.0008265/0.0008265, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008124/0.0008124, allocations: 177.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8721/0.8721, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.586/1.586, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.484e-05, allocations: 5.234 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001841/0.001865, allocations: 1.51 MB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.002827, allocations: 0.7716 MB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.002882, allocations: 0 / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.002912, allocations: 7.922 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.00296, allocations: 11.86 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.003526, allocations: 143.4 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003637, allocations: 83.75 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.003719, allocations: 4.188 kB / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.00385, allocations: 63.81 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.003897, allocations: 27.89 kB / 0.9543 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.003916, allocations: 8 kB / 0.9543 GB, free: 376 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.004127, allocations: 143.7 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.004146, allocations: 11.97 kB / 0.9544 GB, free: 220 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.004182, allocations: 23.92 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.004407, allocations: 175.4 kB / 0.9546 GB, free: 20 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00441, allocations: 0 / 0.9546 GB, free: 20 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004412, allocations: 4 kB / 0.9546 GB, free: 16 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004416, allocations: 0 / 0.9546 GB, free: 16 kB / 0.9011 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.000496/0.004912, allocations: 351.5 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.004947, allocations: 12.03 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.00514, allocations: 28.88 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.00531, allocations: 129.6 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.005331, allocations: 8.375 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.005342, allocations: 12.31 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.005473, allocations: 70.22 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.005482, allocations: 192 / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005494, allocations: 8.125 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005499, allocations: 0 / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.005569, allocations: 39.95 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.005926, allocations: 248.5 kB / 0.9555 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.006007, allocations: 50.48 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.006057, allocations: 32.97 kB / 0.9556 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.006077, allocations: 3.938 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.006178, allocations: 75.38 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.006179, allocations: 4 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002615/0.00644, allocations: 141.5 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.006473, allocations: 51.41 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.006542, allocations: 129.2 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.006556, allocations: 33.7 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.006595, allocations: 84.14 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.006614, allocations: 27.89 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.006649, allocations: 21.72 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.00672, allocations: 322.8 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.006767, allocations: 23.98 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.006821, allocations: 55.41 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.006918, allocations: 83.34 kB / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006919, allocations: 0 / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001428/0.007062, allocations: 117.5 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.007074, allocations: 8 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.007079, allocations: 0 / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.00709, allocations: 3.938 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.007147, allocations: 19.92 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007152, allocations: 0 / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.007184, allocations: 12.02 kB / 0.9567 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.007196, allocations: 11.98 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 6.451e-05/0.007261, allocations: 117.8 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.00727, allocations: 11.89 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.007292, allocations: 8.438 kB / 0.9569 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007294, allocations: 4 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.007298, allocations: 0 / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007301, allocations: 3.938 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.007572, allocations: 326.4 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007573, allocations: 64 / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.007593, allocations: 11.98 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007595, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.007601, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007603, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007604, allocations: 80 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.007761, allocations: 231.3 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.007768, allocations: 3.953 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.00778, allocations: 4 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.007819, allocations: 7.984 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.00785, allocations: 4 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.007859, allocations: 11.98 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.007894, allocations: 91.28 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007894, allocations: 0 / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002144/0.008109, allocations: 39.92 kB / 0.9576 GB, free: 12.71 MB / 0.9167 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,occ.y,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.0002574/0.008366, allocations: 171 kB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.008519, allocations: 71.89 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.008521, allocations: 0 / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.008575, allocations: 35.92 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.008754, allocations: 16.3 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.00906, allocations: 203.1 kB / 0.958 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.009104, allocations: 75.45 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.009131, allocations: 12.5 kB / 0.9581 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.009131, allocations: 0 / 0.9581 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.00238/0.01151, allocations: 1.688 MB / 0.9598 GB, free: 10.41 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: 6.704791279509664]