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.001021/0.001021, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001006/0.001006, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9261/0.9261, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.722/1.722, allocations: 359 MB / 0.6052 GB, free: 11.04 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.593e-06/1.593e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.73e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002344/0.002361, allocations: 1.389 MB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.003101, allocations: 372.4 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.003142, allocations: 3.938 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.003246, allocations: 0.9688 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.003276, allocations: 7.922 kB / 0.7888 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.003811, allocations: 112.2 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.003924, allocations: 49.45 kB / 0.7889 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.003959, allocations: 7.984 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.00401, allocations: 19.98 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.004064, allocations: 19.97 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.00408, allocations: 4 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.004317, allocations: 119.1 kB / 0.7891 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.004363, allocations: 27.94 kB / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.004423, allocations: 39.84 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.004708, allocations: 151.5 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00471, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004711, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.004717, allocations: 0 / 0.7893 GB, free: 10.13 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.0005971/0.005314, allocations: 0.4938 MB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.005365, allocations: 12.03 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.005615, allocations: 25.58 kB / 0.7898 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.005722, allocations: 116.5 kB / 0.7899 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.005739, allocations: 4.969 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.005754, allocations: 9.906 kB / 0.7899 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.006207, allocations: 210.6 kB / 0.7901 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.006215, allocations: 192 / 0.7901 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.006231, allocations: 4.375 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.00624, allocations: 1.5 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.006362, allocations: 141.6 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.006501, allocations: 140.5 kB / 0.7904 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.006653, allocations: 161.5 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.00677, allocations: 149.4 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-06/0.006775, allocations: 0.7188 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.007063, allocations: 351.3 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 1.032e-06/0.007064, allocations: 0 / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0006813/0.007746, allocations: 0.6342 MB / 0.7917 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.007811, allocations: 101.1 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.007908, allocations: 162.5 kB / 0.7919 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007921, allocations: 30.95 kB / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.007968, allocations: 127.5 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.008038, allocations: 79.38 kB / 0.7922 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.008098, allocations: 51.34 kB / 0.7922 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.008262, allocations: 0.4977 MB / 0.7927 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.008351, allocations: 101.7 kB / 0.7928 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.00843, allocations: 110.6 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.008637, allocations: 255.2 kB / 0.7931 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008639, allocations: 0.5625 kB / 0.7931 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003406/0.008979, allocations: 363.3 kB / 0.7935 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.009047, allocations: 83.52 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009052, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.009064, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.009109, allocations: 0.625 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.009116, allocations: 5.906 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.009185, allocations: 27.84 kB / 0.7936 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.009198, allocations: 4 kB / 0.7936 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.0001373/0.009335, allocations: 276.4 kB / 0.7939 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.009367, allocations: 31.95 kB / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-06/0.009375, allocations: 6.406 kB / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.009377, allocations: 0 / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.00938, allocations: 0 / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009384, allocations: 4.844 kB / 0.7939 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.494e-05/0.009468, allocations: 172.4 kB / 0.7941 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00947, allocations: 4.844 kB / 0.7941 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.009471, allocations: 0 / 0.7941 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.009472, allocations: 2.219 kB / 0.7941 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.009487, allocations: 15.92 kB / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.009489, allocations: 0 / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009489, allocations: 0 / 0.7941 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.009923, allocations: 0.6322 MB / 0.7947 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.009936, allocations: 23.84 kB / 0.7947 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.009999, allocations: 70.69 kB / 0.7948 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.01004, allocations: 8 kB / 0.7948 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01007, allocations: 8 kB / 0.7948 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.01009, allocations: 11.98 kB / 0.7948 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.01012, allocations: 131.1 kB / 0.7949 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01012, allocations: 0 / 0.7949 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001835/0.0103, allocations: 67.94 kB / 0.795 GB, free: 3.898 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.0003138/0.01062, allocations: 259.2 kB / 0.7953 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.01096, allocations: 494.2 kB / 0.7957 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01096, allocations: 5.031 kB / 0.7957 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01114, allocations: 328.7 kB / 0.796 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.01129, allocations: 30.77 kB / 0.7961 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.01178, allocations: 318.5 kB / 0.7964 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.01181, allocations: 79.78 kB / 0.7965 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.01183, allocations: 0 / 0.7965 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.01184, allocations: 12.5 kB / 0.7965 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01184, allocations: 0 / 0.7965 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.004196/0.01604, allocations: 2.928 MB / 0.7993 GB, free: 15.43 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.869807316921651]