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.001511/0.001511, 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.001971/0.001971, 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.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.825/1.825, allocations: 359 MB / 0.6055 GB, free: 11 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.613e-06/1.613e-06, allocations: 0.5469 kB / 0.787 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.604e-05, allocations: 3.312 kB / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001901/0.001927, allocations: 1.398 MB / 0.7884 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.00252, allocations: 368.2 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.002559, allocations: 3.938 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.416e-05/0.002653, allocations: 1.188 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/0.00268, allocations: 11.92 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.003111, allocations: 95.58 kB / 0.7889 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.003212, allocations: 60.77 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.003249, allocations: 4 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.003295, allocations: 24.53 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.003338, allocations: 19.91 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.003351, allocations: 4.688 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.003519, allocations: 116.6 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.003556, allocations: 27.92 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.003597, allocations: 31.92 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.003801, allocations: 160 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003803, allocations: 0 / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003805, allocations: 0.7188 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003809, allocations: 0 / 0.7893 GB, free: 10.57 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.000396/0.004205, allocations: 0.4993 MB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.004243, allocations: 12.03 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.004444, allocations: 24.83 kB / 0.7898 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.004531, allocations: 116.5 kB / 0.7899 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.004544, allocations: 5.719 kB / 0.7899 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.004557, allocations: 4.375 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.004743, allocations: 214.6 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.004749, allocations: 1.781 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.00476, allocations: 4.375 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004766, allocations: 384 / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.004854, allocations: 145.5 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.004962, allocations: 135.9 kB / 0.7904 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.005074, allocations: 164.7 kB / 0.7906 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.005159, allocations: 153.4 kB / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.005164, allocations: 0 / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.005384, allocations: 338 kB / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 8.81e-07/0.005385, allocations: 0 / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0004851/0.00587, allocations: 0.6303 MB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.005917, allocations: 109.1 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.005991, allocations: 165.8 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006003, allocations: 30.23 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.006037, allocations: 128.2 kB / 0.7921 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.006087, allocations: 79.33 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.006131, allocations: 43.89 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.006246, allocations: 0.4969 MB / 0.7927 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/0.006316, allocations: 109.7 kB / 0.7928 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.006376, allocations: 103.6 kB / 0.7929 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.006532, allocations: 255.2 kB / 0.7931 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006534, allocations: 0 / 0.7931 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002478/0.006782, allocations: 366.4 kB / 0.7935 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.006841, allocations: 79.02 kB / 0.7935 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006846, allocations: 4 kB / 0.7935 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.006859, allocations: 4 kB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.006904, allocations: 1.25 kB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.006911, allocations: 3.938 kB / 0.7936 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.006978, allocations: 23.84 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.006991, allocations: 4 kB / 0.7936 GB, free: 5.859 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.000147/0.007138, allocations: 274.3 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.007173, allocations: 31.95 kB / 0.7939 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.007185, allocations: 9.297 kB / 0.7939 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007186, allocations: 0 / 0.7939 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.007189, allocations: 3.062 kB / 0.7939 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007194, allocations: 3.938 kB / 0.7939 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.689e-05/0.007291, allocations: 172.4 kB / 0.7941 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007294, allocations: 4 kB / 0.7941 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.007295, allocations: 0 / 0.7941 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.007296, allocations: 0 / 0.7941 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.007314, allocations: 15.94 kB / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007315, allocations: 0 / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007317, allocations: 5.297 kB / 0.7941 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.007796, allocations: 0.6322 MB / 0.7947 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.007809, allocations: 19.84 kB / 0.7947 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.007879, allocations: 67.95 kB / 0.7948 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.007927, allocations: 8.625 kB / 0.7948 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.007959, allocations: 8.547 kB / 0.7948 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.007973, allocations: 12 kB / 0.7948 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.00801, allocations: 136 kB / 0.7949 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.00801, allocations: 0 / 0.7949 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001988/0.008209, allocations: 72.97 kB / 0.795 GB, free: 4.332 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.000362/0.008571, allocations: 247.4 kB / 0.7952 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.008958, allocations: 498.2 kB / 0.7957 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00896, allocations: 0 / 0.7957 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.009154, allocations: 325.6 kB / 0.796 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.009338, allocations: 35.89 kB / 0.7961 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.009923, allocations: 323.4 kB / 0.7964 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.009966, allocations: 75.78 kB / 0.7964 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.00998, allocations: 1.094 kB / 0.7964 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.009993, allocations: 8.5 kB / 0.7965 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.009994, allocations: 0.9688 kB / 0.7965 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.004212/0.01421, allocations: 2.774 MB / 0.7992 GB, free: 48 kB / 0.7448 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.321844835067168]