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.001401/0.001401, allocations: 82.64 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.001486/0.001486, allocations: 185 kB / 24.09 MB, free: 412 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.9489/0.9489, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.763/1.763, 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.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.523e-06/1.523e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.054e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001816/0.001837, allocations: 1.379 MB / 0.7889 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.002368, allocations: 371.4 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.002398, allocations: 4 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.855e-05/0.002476, allocations: 3.938 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.281e-05/0.002499, allocations: 5.953 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.002881, allocations: 107.5 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.002967, allocations: 51.91 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.002998, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.003043, allocations: 29.47 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.003086, allocations: 15.98 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003099, allocations: 4 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.003264, allocations: 119.7 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.003298, allocations: 23.94 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.003331, allocations: 36.95 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.003498, allocations: 151.5 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003499, allocations: 0.625 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.0035, allocations: 0 / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.003505, allocations: 5.094 kB / 0.7898 GB, free: 9.965 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.000349/0.003853, allocations: 0.4976 MB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.003889, allocations: 12.02 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.004041, allocations: 35.03 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.004115, allocations: 116.5 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004127, allocations: 384 / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.004134, allocations: 4.375 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.004288, allocations: 198.6 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004294, allocations: 192 / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.004302, allocations: 5.094 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004307, allocations: 384 / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.004376, allocations: 126.1 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.319e-05/0.00447, allocations: 118.8 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.004564, allocations: 156.7 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.004633, allocations: 133.4 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-06/0.004637, allocations: 3.984 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.004841, allocations: 334.6 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 9.32e-07/0.004842, allocations: 0.9688 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0004061/0.005248, allocations: 0.5873 MB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.005287, allocations: 101.1 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.005349, allocations: 159.1 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.005361, allocations: 29.7 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.005396, allocations: 131.5 kB / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.005443, allocations: 80.67 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.005483, allocations: 51.31 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.005599, allocations: 0.5039 MB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.005653, allocations: 93.69 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.005704, allocations: 104.4 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.005832, allocations: 239.2 kB / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005833, allocations: 0 / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002217/0.006055, allocations: 353.8 kB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.006103, allocations: 74.7 kB / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006108, allocations: 0 / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006119, allocations: 0 / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.002e-05/0.006149, allocations: 1.375 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.006151, allocations: 4 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.006203, allocations: 23.78 kB / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.006215, allocations: 9.375 kB / 0.7939 GB, free: 5.422 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.0001306/0.006346, allocations: 272.2 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.00638, allocations: 31.95 kB / 0.7942 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.006392, allocations: 15.19 kB / 0.7942 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006393, allocations: 0 / 0.7942 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006395, allocations: 4 kB / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006397, allocations: 0 / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.00649, allocations: 157 kB / 0.7943 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006491, allocations: 2.594 kB / 0.7943 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.006492, allocations: 0 / 0.7943 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.006493, allocations: 0 / 0.7943 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.006506, allocations: 11.98 kB / 0.7944 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006507, allocations: 0 / 0.7944 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006507, allocations: 0 / 0.7944 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.006902, allocations: 0.6087 MB / 0.795 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.006914, allocations: 16.69 kB / 0.795 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.006972, allocations: 63.95 kB / 0.795 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.007013, allocations: 12.83 kB / 0.795 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.007037, allocations: 8 kB / 0.795 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.007052, allocations: 15.98 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.007084, allocations: 124.5 kB / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007084, allocations: 0 / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001862/0.00727, allocations: 67.94 kB / 0.7952 GB, free: 3.965 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.0003291/0.0076, allocations: 261.6 kB / 0.7955 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.007913, allocations: 467.4 kB / 0.7959 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007915, allocations: 0 / 0.7959 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.008089, allocations: 314.3 kB / 0.7962 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.00826, allocations: 27.92 kB / 0.7963 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.008733, allocations: 319 kB / 0.7966 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.661e-05/0.00877, allocations: 75.78 kB / 0.7966 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.008783, allocations: 0 / 0.7966 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.008908, allocations: 135.3 kB / 0.7968 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.008909, allocations: 0 / 0.7968 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.00413/0.01304, allocations: 2.973 MB / 0.7997 GB, free: 15.38 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: 4.903029688633978]