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.001374/0.001374, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001352/0.001352, allocations: 169 kB / 24.28 MB, free: 276 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.9826/0.9826, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.754/1.754, allocations: 359 MB / 0.6055 GB, free: 10.97 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.793e-06/1.793e-06, allocations: 0.9844 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.009e-05, allocations: 3.188 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002288/0.002308, allocations: 1.55 MB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.00344, allocations: 0.7857 MB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.003494, allocations: 0 / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.00353, allocations: 11.86 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.003579, allocations: 13.64 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.004119, allocations: 147.3 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.004233, allocations: 75.77 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.004324, allocations: 12.89 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.004453, allocations: 48.8 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.004509, allocations: 39.88 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.004528, allocations: 4.656 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.004751, allocations: 143.6 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.004775, allocations: 19.45 kB / 0.7899 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.004813, allocations: 19.91 kB / 0.7899 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.005039, allocations: 151.5 kB / 0.79 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.005043, allocations: 3.984 kB / 0.79 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005043, allocations: 4 kB / 0.79 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.005047, allocations: 0 / 0.79 GB, free: 9.809 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.0005086/0.005555, allocations: 441.9 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.00559, allocations: 8.031 kB / 0.7905 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.005839, allocations: 37.45 kB / 0.7905 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005995, allocations: 137 kB / 0.7906 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.006017, allocations: 10.03 kB / 0.7906 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.006031, allocations: 8.312 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.006172, allocations: 70.92 kB / 0.7907 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006179, allocations: 192 / 0.7907 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.006192, allocations: 9.625 kB / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.0062, allocations: 0 / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.006248, allocations: 11.98 kB / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.006665, allocations: 301.3 kB / 0.791 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.006979, allocations: 38.98 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.007017, allocations: 23.8 kB / 0.7911 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.007036, allocations: 8.562 kB / 0.7911 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.314e-05/0.00713, allocations: 71.06 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.007131, allocations: 4 kB / 0.7912 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002509/0.007382, allocations: 101.8 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.007416, allocations: 55.41 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.007516, allocations: 181.9 kB / 0.7915 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.007531, allocations: 30.33 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.007584, allocations: 138.8 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.007603, allocations: 16.58 kB / 0.7917 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.007649, allocations: 31.36 kB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.007768, allocations: 0.4935 MB / 0.7922 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.007801, allocations: 11.98 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.007854, allocations: 50.73 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.553e-05/0.00794, allocations: 64.44 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007942, allocations: 0 / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001471/0.008089, allocations: 98.31 kB / 0.7924 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008102, allocations: 4 kB / 0.7924 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.008108, allocations: 4.062 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.008124, allocations: 8.531 kB / 0.7924 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.008203, allocations: 13.16 kB / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.00821, allocations: 7.984 kB / 0.7924 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.008255, allocations: 7.984 kB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.008265, allocations: 0.75 kB / 0.7924 GB, free: 7.117 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 8.024e-05/0.008345, allocations: 171.1 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.008361, allocations: 15.89 kB / 0.7926 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.008383, allocations: 12.42 kB / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008385, allocations: 1 kB / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.008389, allocations: 4 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008393, allocations: 0.8438 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.008679, allocations: 349.4 kB / 0.793 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008681, allocations: 4 kB / 0.793 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.008703, allocations: 10.16 kB / 0.793 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008704, allocations: 0 / 0.793 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008713, allocations: 0 / 0.793 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008714, allocations: 0 / 0.793 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.008717, allocations: 7.984 kB / 0.793 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.008884, allocations: 239.8 kB / 0.7932 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.008895, allocations: 10.73 kB / 0.7932 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.008909, allocations: 0 / 0.7932 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.008973, allocations: 11.98 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.009007, allocations: 0 / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.009017, allocations: 7.984 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.009071, allocations: 139.2 kB / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009071, allocations: 0 / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002749/0.009346, allocations: 37.44 kB / 0.7934 GB, free: 6.059 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.0003109/0.009657, allocations: 175.4 kB / 0.7936 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.009788, allocations: 61.47 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00979, allocations: 0 / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/0.009837, allocations: 27.67 kB / 0.7937 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.01008, allocations: 16.52 kB / 0.7937 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.01067, allocations: 184.4 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.01071, allocations: 59.36 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.01074, allocations: 9.391 kB / 0.7939 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.01077, allocations: 16.47 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01077, allocations: 0 / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.003521/0.01429, allocations: 1.518 MB / 0.7954 GB, free: 3.984 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: 5.129944367799908]