Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.00097/0.00097, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001963/0.001963, allocations: 162.6 kB / 24.86 MB, free: 9.289 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.9676/0.9676, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.781/1.781, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.77e-05, allocations: 3.906 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002702/0.00273, allocations: 1.394 MB / 0.7896 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005894/0.003319, allocations: 371.5 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.003351, allocations: 0 / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.69e-05/0.003438, allocations: 5.031 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.481e-05/0.003463, allocations: 7.922 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.003864, allocations: 107.5 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.406e-05/0.003948, allocations: 52.61 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.003982, allocations: 4.953 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.004027, allocations: 23.98 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.004071, allocations: 15.97 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004084, allocations: 6.375 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.004252, allocations: 115.8 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.00429, allocations: 35.86 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.004324, allocations: 27.92 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.004501, allocations: 151.5 kB / 0.7905 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004504, allocations: 4 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.173e-06/0.004505, allocations: 1.844 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004509, allocations: 0 / 0.7905 GB, free: 9.961 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0003478/0.004857, allocations: 0.4976 MB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.004891, allocations: 8.031 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.005054, allocations: 32.83 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/0.005133, allocations: 117.2 kB / 0.7911 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005148, allocations: 4.375 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.005156, allocations: 4.844 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.005309, allocations: 200.3 kB / 0.7913 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005316, allocations: 4.188 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.005323, allocations: 384 / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005328, allocations: 384 / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.0054, allocations: 122.2 kB / 0.7915 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.233e-05/0.005492, allocations: 121.1 kB / 0.7916 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.00559, allocations: 153.2 kB / 0.7917 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.005661, allocations: 138.2 kB / 0.7919 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-06/0.005664, allocations: 0 / 0.7919 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.005864, allocations: 339.1 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 6.91e-07/0.005865, allocations: 0 / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.000431/0.006296, allocations: 0.5835 MB / 0.7928 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.006341, allocations: 106.5 kB / 0.7929 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.006402, allocations: 157.9 kB / 0.793 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.006414, allocations: 29.7 kB / 0.793 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.006448, allocations: 135.5 kB / 0.7932 GB, free: 7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.006495, allocations: 81.05 kB / 0.7932 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.006533, allocations: 47.33 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.006647, allocations: 0.5078 MB / 0.7938 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.006701, allocations: 93.69 kB / 0.7939 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.00675, allocations: 95.83 kB / 0.794 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.006892, allocations: 239.2 kB / 0.7942 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006894, allocations: 0 / 0.7942 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002225/0.007116, allocations: 351.3 kB / 0.7945 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.007166, allocations: 73.64 kB / 0.7946 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007171, allocations: 7.938 kB / 0.7946 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.007179, allocations: 0 / 0.7946 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.164e-05/0.00721, allocations: 5.5 kB / 0.7946 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.007213, allocations: 0 / 0.7946 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.007263, allocations: 23.78 kB / 0.7946 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.007274, allocations: 8 kB / 0.7946 GB, free: 5.418 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 0.00014/0.007414, allocations: 274.5 kB / 0.7949 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.007449, allocations: 31.95 kB / 0.7949 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.112e-05/0.00746, allocations: 9.312 kB / 0.7949 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007462, allocations: 0 / 0.7949 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007463, allocations: 4 kB / 0.7949 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007466, allocations: 2.594 kB / 0.7949 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/0.007557, allocations: 161 kB / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007558, allocations: 0 / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.007559, allocations: 0 / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.00756, allocations: 0 / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.007573, allocations: 8 kB / 0.7951 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007575, allocations: 3.984 kB / 0.7951 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007576, allocations: 0.8438 kB / 0.7951 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.007985, allocations: 0.6048 MB / 0.7957 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.007998, allocations: 16.69 kB / 0.7957 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.008059, allocations: 63.95 kB / 0.7958 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.008097, allocations: 9.281 kB / 0.7958 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.008126, allocations: 15.97 kB / 0.7958 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.008139, allocations: 12 kB / 0.7958 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.008174, allocations: 127.2 kB / 0.7959 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008174, allocations: 0.8438 kB / 0.7959 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001877/0.008362, allocations: 67.94 kB / 0.796 GB, free: 3.961 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000311/0.008673, allocations: 263.5 kB / 0.7963 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.008992, allocations: 464 kB / 0.7967 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.008993, allocations: 0 / 0.7967 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.009163, allocations: 308.7 kB / 0.797 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.009313, allocations: 27.92 kB / 0.797 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.00978, allocations: 327.5 kB / 0.7973 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.009816, allocations: 75.78 kB / 0.7974 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.039e-05/0.009826, allocations: 0.6562 kB / 0.7974 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.009953, allocations: 134.2 kB / 0.7975 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.009954, allocations: 4.25 kB / 0.7975 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of Templates: time 0.004236/0.01419, allocations: 2.997 MB / 0.8005 GB, free: 15.33 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.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.013896457385272]