Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001012/0.001012, 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.001126/0.001126, 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 1.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.834/1.834, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.299e-05, allocations: 6.641 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002036/0.002059, allocations: 1.546 MB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003077, allocations: 0.7886 MB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.003136, allocations: 0.9375 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.003164, allocations: 3.938 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.003213, allocations: 16.39 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.003733, allocations: 144.7 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003837, allocations: 79.77 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.003921, allocations: 5.156 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004044, allocations: 55.88 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.004095, allocations: 32.64 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.004112, allocations: 8 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.004302, allocations: 142.2 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.004323, allocations: 15.98 kB / 0.7899 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.004358, allocations: 27.91 kB / 0.7899 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.004565, allocations: 143.6 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004567, allocations: 0 / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004568, allocations: 0 / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004571, allocations: 0 / 0.79 GB, free: 9.805 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.000482/0.005053, allocations: 455.5 kB / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005088, allocations: 8.031 kB / 0.7905 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.005293, allocations: 33.47 kB / 0.7905 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.005439, allocations: 136.4 kB / 0.7906 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.005459, allocations: 4.969 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.005472, allocations: 9.375 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.00561, allocations: 70.92 kB / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.005616, allocations: 192 / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.005627, allocations: 6 kB / 0.7907 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005635, allocations: 3.984 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.005674, allocations: 11.98 kB / 0.7907 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.006044, allocations: 309.1 kB / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.006105, allocations: 39.05 kB / 0.7911 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.006136, allocations: 19.81 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.006154, allocations: 10.48 kB / 0.7911 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.006232, allocations: 65.05 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.006233, allocations: 0 / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002271/0.00646, allocations: 109.8 kB / 0.7913 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.006493, allocations: 51.41 kB / 0.7913 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.006586, allocations: 177.9 kB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.0066, allocations: 33.69 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.006649, allocations: 139.3 kB / 0.7916 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.006665, allocations: 16.7 kB / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.006703, allocations: 35.36 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.006804, allocations: 0.4889 MB / 0.7922 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.006831, allocations: 8 kB / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.006875, allocations: 52.59 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.006942, allocations: 55.05 kB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006944, allocations: 0.5625 kB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001074/0.007052, allocations: 90.09 kB / 0.7924 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.007063, allocations: 4.781 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.007069, allocations: 4 kB / 0.7924 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007081, allocations: 5.094 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.007154, allocations: 15.92 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.007158, allocations: 4 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.007189, allocations: 13.33 kB / 0.7924 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007198, allocations: 0 / 0.7924 GB, free: 7.137 MB / 0.7448 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 7.028e-05/0.007268, allocations: 167.8 kB / 0.7926 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.007282, allocations: 19.88 kB / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.007301, allocations: 8.438 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007303, allocations: 0.7812 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.007306, allocations: 0 / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007309, allocations: 5.125 kB / 0.7926 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.007572, allocations: 349.3 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007573, allocations: 0 / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.007595, allocations: 4.844 kB / 0.7929 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007596, allocations: 0 / 0.7929 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.007608, allocations: 9.422 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.007611, allocations: 4 kB / 0.7929 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007611, allocations: 0 / 0.7929 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.007749, allocations: 243.8 kB / 0.7932 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.007757, allocations: 9.047 kB / 0.7932 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.007769, allocations: 0 / 0.7932 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.007812, allocations: 7.984 kB / 0.7932 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.007848, allocations: 9.953 kB / 0.7932 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.007854, allocations: 4 kB / 0.7932 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.007896, allocations: 135.2 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007896, allocations: 0 / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000189/0.008085, allocations: 31.94 kB / 0.7934 GB, free: 6.09 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,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.0002885/0.008373, allocations: 180.2 kB / 0.7935 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.008498, allocations: 56.11 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008499, allocations: 1.938 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.008541, allocations: 31.66 kB / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.008731, allocations: 25.92 kB / 0.7937 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.009256, allocations: 179.8 kB / 0.7938 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.009295, allocations: 60.02 kB / 0.7939 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.707e-05/0.009322, allocations: 8.766 kB / 0.7939 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.009349, allocations: 19.72 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.009349, allocations: 0 / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.003353/0.0127, allocations: 1.511 MB / 0.7954 GB, free: 4.012 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.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.105718184961006]