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.0009772/0.0009772, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009072/0.0009072, allocations: 181.3 kB / 24.09 MB, free: 416 kB / 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.919/0.919, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.734/1.734, allocations: 359 MB / 0.6055 GB, free: 10.88 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.282e-06/1.282e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.009e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001892/0.001913, allocations: 1.544 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.002898, allocations: 0.7822 MB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.002954, allocations: 3.938 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.002978, allocations: 3.938 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.00303, allocations: 17.38 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.003533, allocations: 143.4 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.003627, allocations: 75.77 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.003698, allocations: 12.73 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.003826, allocations: 56.95 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.00387, allocations: 27.94 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.003885, allocations: 8 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.004083, allocations: 145.5 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.004103, allocations: 15.92 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.004128, allocations: 23.91 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.004308, allocations: 147.6 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00431, allocations: 0 / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004311, allocations: 4.688 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.004314, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 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.0004086/0.004722, allocations: 450.9 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004755, allocations: 12.03 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.004926, allocations: 30.47 kB / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.005048, allocations: 140.4 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005064, allocations: 6.156 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.005074, allocations: 8.375 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.005171, allocations: 62.92 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.005178, allocations: 192 / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.005188, allocations: 12.12 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005193, allocations: 2.469 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.005216, allocations: 11.98 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.005513, allocations: 288.3 kB / 0.7915 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.005561, allocations: 31.06 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.005583, allocations: 20.3 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.005599, allocations: 1.656 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.005678, allocations: 69.11 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005678, allocations: 3.938 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001734/0.005852, allocations: 105.5 kB / 0.7917 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.005879, allocations: 53.16 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.005954, allocations: 185.9 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.005965, allocations: 25.7 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.006012, allocations: 138.8 kB / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.006029, allocations: 19.88 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.006065, allocations: 40 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.006171, allocations: 496.1 kB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.00619, allocations: 12.86 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.006223, allocations: 42.73 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.00628, allocations: 68.59 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006282, allocations: 0 / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.611e-05/0.006378, allocations: 89.44 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.006389, allocations: 10.19 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006393, allocations: 0 / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006404, allocations: 0 / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.006465, allocations: 19.98 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.006468, allocations: 0 / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.0065, allocations: 8.484 kB / 0.7928 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.006508, allocations: 4 kB / 0.7928 GB, free: 6.551 MB / 0.7448 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 7.898e-05/0.006587, allocations: 172 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.006601, allocations: 11.89 kB / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.006623, allocations: 18.05 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006625, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.006627, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00663, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.006858, allocations: 326.5 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.006861, allocations: 7.922 kB / 0.7934 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.006879, allocations: 5.375 kB / 0.7934 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.006882, allocations: 8.047 kB / 0.7934 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.006888, allocations: 3.984 kB / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006889, allocations: 1.156 kB / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00689, allocations: 0 / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.00702, allocations: 235.8 kB / 0.7936 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.00703, allocations: 17.31 kB / 0.7936 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.007039, allocations: 0 / 0.7936 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.007081, allocations: 8 kB / 0.7936 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.007106, allocations: 7.984 kB / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.007111, allocations: 0.9062 kB / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.00715, allocations: 135.1 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00715, allocations: 0.8438 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002024/0.007352, allocations: 39.92 kB / 0.7938 GB, free: 5.523 MB / 0.7448 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.0002562/0.007608, allocations: 172.3 kB / 0.794 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.007702, allocations: 47.58 kB / 0.794 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007704, allocations: 1.656 kB / 0.794 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.007734, allocations: 27.67 kB / 0.794 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.007906, allocations: 12.56 kB / 0.794 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.008328, allocations: 187 kB / 0.7942 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.008359, allocations: 59.34 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.008382, allocations: 4 kB / 0.7943 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.00843, allocations: 82.19 kB / 0.7944 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.008431, allocations: 0 / 0.7944 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.003071/0.0115, allocations: 1.689 MB / 0.796 GB, free: 3.234 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7542582750320435]