Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001019/0.001019, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001221/0.001221, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9939/0.9939, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.744/1.744, allocations: 359 MB / 0.6052 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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.595e-05, allocations: 6.75 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001793/0.001809, allocations: 1.563 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.002779, allocations: 0.7881 MB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.002825, allocations: 3.938 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.002851, allocations: 4.625 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.002892, allocations: 12.78 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.003337, allocations: 148 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.003435, allocations: 71.78 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.003513, allocations: 13.75 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003624, allocations: 51.91 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.003669, allocations: 27.94 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.003687, allocations: 8 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.00387, allocations: 147 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.00389, allocations: 19.91 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.003923, allocations: 19.92 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.004115, allocations: 151.5 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004116, allocations: 0 / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004117, allocations: 0 / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.004121, allocations: 0 / 0.79 GB, free: 9.488 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.0004756/0.004597, allocations: 449.9 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004631, allocations: 12.75 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.004818, allocations: 30.53 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.004956, allocations: 136.4 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.004976, allocations: 4.375 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.004988, allocations: 8.375 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.00511, allocations: 68.2 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005117, allocations: 192 / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.005131, allocations: 8.125 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005138, allocations: 0.6562 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.005175, allocations: 12.7 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.005527, allocations: 308.7 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.005598, allocations: 35.05 kB / 0.7911 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.005629, allocations: 20.72 kB / 0.7911 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.005648, allocations: 3.938 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.391e-05/0.005732, allocations: 70.38 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.005733, allocations: 7.938 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002415/0.005975, allocations: 101.8 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.006016, allocations: 55.97 kB / 0.7913 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.006114, allocations: 183.4 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006127, allocations: 30.67 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.006191, allocations: 146.9 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.006208, allocations: 12.88 kB / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.00625, allocations: 31.36 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.006373, allocations: 0.4923 MB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.0064, allocations: 13.09 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.00644, allocations: 39.05 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.517e-05/0.006505, allocations: 60.48 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006507, allocations: 0 / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001049/0.006612, allocations: 90.03 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.006626, allocations: 11.98 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006631, allocations: 0.5938 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.006644, allocations: 0.5312 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.006715, allocations: 16.72 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.006721, allocations: 0 / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.006754, allocations: 16.84 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.006766, allocations: 4 kB / 0.7924 GB, free: 6.824 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.544e-05/0.006841, allocations: 167.3 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.006854, allocations: 13.27 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.006879, allocations: 16.42 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006881, allocations: 0 / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.006885, allocations: 0 / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006888, allocations: 0.8125 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.007128, allocations: 353.2 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007129, allocations: 0.9375 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.007148, allocations: 4 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.00715, allocations: 1.219 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.007159, allocations: 8 kB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007161, allocations: 0 / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007163, allocations: 4.828 kB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.007296, allocations: 247.8 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.007302, allocations: 3.953 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.007313, allocations: 2.219 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.007352, allocations: 7.984 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.007385, allocations: 4 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.007393, allocations: 7.984 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.007432, allocations: 131.2 kB / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007432, allocations: 7.125 kB / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001789/0.007611, allocations: 35.94 kB / 0.7934 GB, free: 5.773 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.000263/0.007874, allocations: 169 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.00799, allocations: 60.81 kB / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007992, allocations: 0 / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.00803, allocations: 27.67 kB / 0.7936 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.008242, allocations: 12.56 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.008761, allocations: 192.6 kB / 0.7938 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.008795, allocations: 55.36 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.00882, allocations: 13.31 kB / 0.7939 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.008845, allocations: 12.5 kB / 0.7939 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.008845, allocations: 1.094 kB / 0.7939 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of Templates: time 0.003371/0.01222, allocations: 1.674 MB / 0.7955 GB, free: 3.547 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.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.899921556003392]