Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.000805/0.000805, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.001248/0.001248, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.855/0.855, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.636/1.636, allocations: 359 MB / 0.6044 GB, free: 11.1 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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9517 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.649e-05, allocations: 6.219 kB / 0.9517 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001882/0.001909, allocations: 1.514 MB / 0.9532 GB, free: 368 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.002875, allocations: 0.76 MB / 0.9539 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.002927, allocations: 8 kB / 0.9539 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.002957, allocations: 11.86 kB / 0.954 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.003002, allocations: 7.875 kB / 0.954 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.003506, allocations: 151.3 kB / 0.9541 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.00361, allocations: 79.75 kB / 0.9542 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.003693, allocations: 8.188 kB / 0.9542 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.003823, allocations: 51.88 kB / 0.9542 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.003873, allocations: 31.91 kB / 0.9543 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003889, allocations: 4 kB / 0.9543 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.00408, allocations: 147.7 kB / 0.9544 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.004101, allocations: 19.97 kB / 0.9544 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.004134, allocations: 23.86 kB / 0.9545 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.004344, allocations: 167.5 kB / 0.9546 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004347, allocations: 4 kB / 0.9546 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004348, allocations: 0 / 0.9546 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004352, allocations: 0 / 0.9546 GB, free: 14.89 MB / 0.8698 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.0004766/0.004829, allocations: 343.6 kB / 0.9549 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.004864, allocations: 8.031 kB / 0.955 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.00519, allocations: 40.86 kB / 0.955 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.005367, allocations: 137.6 kB / 0.9551 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.005387, allocations: 384 / 0.9551 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.005399, allocations: 8.359 kB / 0.9551 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.005533, allocations: 70.22 kB / 0.9552 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00554, allocations: 4.125 kB / 0.9552 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005552, allocations: 4.125 kB / 0.9552 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005557, allocations: 4 kB / 0.9552 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.005632, allocations: 39.97 kB / 0.9553 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.005993, allocations: 244.5 kB / 0.9555 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/0.006075, allocations: 42.56 kB / 0.9555 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.00612, allocations: 24.97 kB / 0.9555 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.006141, allocations: 7.922 kB / 0.9556 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.006249, allocations: 75.39 kB / 0.9556 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.006251, allocations: 4 kB / 0.9556 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002776/0.006529, allocations: 149.6 kB / 0.9558 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.006561, allocations: 55.41 kB / 0.9558 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.006632, allocations: 126 kB / 0.9559 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006645, allocations: 29.7 kB / 0.956 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.006687, allocations: 88.14 kB / 0.9561 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.006705, allocations: 19.84 kB / 0.9561 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.00674, allocations: 25.7 kB / 0.9561 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.006819, allocations: 318.8 kB / 0.9564 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.00687, allocations: 31.98 kB / 0.9564 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.006925, allocations: 50.55 kB / 0.9565 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/0.007022, allocations: 70.81 kB / 0.9566 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007025, allocations: 0 / 0.9566 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001423/0.007167, allocations: 125.5 kB / 0.9567 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.00718, allocations: 8.062 kB / 0.9567 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.007184, allocations: 0 / 0.9567 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.007199, allocations: 4 kB / 0.9567 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.007259, allocations: 15.92 kB / 0.9567 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007264, allocations: 0 / 0.9567 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.007293, allocations: 7.938 kB / 0.9567 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.007305, allocations: 15.92 kB / 0.9567 GB, free: 12.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.262e-05/0.007368, allocations: 113.8 kB / 0.9568 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.007378, allocations: 11.89 kB / 0.9568 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.007401, allocations: 16.42 kB / 0.9569 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007404, allocations: 4 kB / 0.9569 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007407, allocations: 0 / 0.9569 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.00741, allocations: 0 / 0.9569 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.007688, allocations: 326 kB / 0.9572 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.00769, allocations: 0 / 0.9572 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.007709, allocations: 7.984 kB / 0.9572 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.007713, allocations: 8 kB / 0.9572 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.007721, allocations: 0 / 0.9572 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007722, allocations: 0 / 0.9572 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007723, allocations: 4 kB / 0.9572 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.007889, allocations: 223.3 kB / 0.9574 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.007897, allocations: 7.891 kB / 0.9574 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.007909, allocations: 0 / 0.9574 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.007951, allocations: 7.984 kB / 0.9574 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.007984, allocations: 4 kB / 0.9574 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.007992, allocations: 3.984 kB / 0.9574 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.008026, allocations: 96.41 kB / 0.9575 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.008026, allocations: 0 / 0.9575 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002086/0.008234, allocations: 43.92 kB / 0.9576 GB, free: 11.61 MB / 0.8698 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: 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.0002775/0.008512, allocations: 166 kB / 0.9577 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.008669, allocations: 75.83 kB / 0.9578 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00867, allocations: 0 / 0.9578 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.008726, allocations: 36.11 kB / 0.9578 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.008912, allocations: 7.938 kB / 0.9578 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.009217, allocations: 203.7 kB / 0.958 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.009264, allocations: 75.33 kB / 0.9581 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.00929, allocations: 12.5 kB / 0.9581 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.009291, allocations: 0 / 0.9581 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of Templates: time 0.002404/0.01169, allocations: 1.671 MB / 0.9597 GB, free: 9.336 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.635723219253123]