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.001935/0.001935, allocations: 83.75 kB / 20.23 MB, free: 4.039 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.002041/0.002041, allocations: 157.4 kB / 23.55 MB, free: 0.7266 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 1.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.901/2.901, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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 6.121e-06/6.121e-06, allocations: 4 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/4.138e-05, allocations: 7.578 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003831/0.003872, allocations: 1.367 MB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.005039, allocations: 363.5 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.005076, allocations: 0 / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.005183, allocations: 5.562 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.005217, allocations: 3.938 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.005888, allocations: 107.6 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.006048, allocations: 55.83 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.006085, allocations: 1.219 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.006168, allocations: 23.98 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.006242, allocations: 15.97 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.006259, allocations: 4.625 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.006657, allocations: 121.1 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.006727, allocations: 31.92 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.006803, allocations: 27.88 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.007231, allocations: 179.5 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.007235, allocations: 0.8438 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.007237, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.007243, allocations: 0 / 0.7886 GB, free: 10.58 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.0008163/0.00806, allocations: 0.5017 MB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.008104, allocations: 8.719 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.008433, allocations: 29.73 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.008613, allocations: 120.5 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.008637, allocations: 4.375 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.008658, allocations: 5.031 kB / 0.7892 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.009043, allocations: 195.5 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.009056, allocations: 4.188 kB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.009075, allocations: 4.375 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.009079, allocations: 384 / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.009328, allocations: 145.6 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.009588, allocations: 137.2 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.009943, allocations: 208.1 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.01023, allocations: 189.4 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.01025, allocations: 0 / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.01081, allocations: 346 kB / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.01081, allocations: 0 / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.001229/0.01204, allocations: 0.6342 MB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.01216, allocations: 105.1 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.01233, allocations: 165.9 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.01237, allocations: 29.7 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01247, allocations: 132.2 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.0126, allocations: 83.38 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01271, allocations: 49.02 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003627/0.01307, allocations: 0.5001 MB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.01325, allocations: 109.7 kB / 0.7921 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01343, allocations: 106.7 kB / 0.7923 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.01385, allocations: 268.6 kB / 0.7925 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01386, allocations: 0 / 0.7925 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006546/0.01451, allocations: 377.8 kB / 0.7929 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.01464, allocations: 77.64 kB / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01464, allocations: 1.156 kB / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01466, allocations: 0 / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.01471, allocations: 0 / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.01472, allocations: 4.688 kB / 0.7929 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01485, allocations: 23.83 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.01487, allocations: 4.625 kB / 0.793 GB, free: 5.754 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.0005367/0.01541, allocations: 277.2 kB / 0.7932 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.01552, allocations: 39.89 kB / 0.7933 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.01553, allocations: 6.562 kB / 0.7933 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01553, allocations: 0 / 0.7933 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01554, allocations: 4 kB / 0.7933 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01554, allocations: 4.812 kB / 0.7933 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.0158, allocations: 168.4 kB / 0.7935 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.0158, allocations: 5.359 kB / 0.7935 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.0158, allocations: 0 / 0.7935 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.0158, allocations: 0 / 0.7935 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.01584, allocations: 12 kB / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.01585, allocations: 9.203 kB / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01585, allocations: 0 / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.0171, allocations: 0.6517 MB / 0.7941 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.01714, allocations: 16.38 kB / 0.7941 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.0173, allocations: 68.48 kB / 0.7942 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.0174, allocations: 12 kB / 0.7942 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.01747, allocations: 12.86 kB / 0.7942 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.01751, allocations: 15.98 kB / 0.7942 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.397e-05/0.0176, allocations: 127.9 kB / 0.7944 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0176, allocations: 0 / 0.7944 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005234/0.01812, allocations: 68.47 kB / 0.7944 GB, free: 4.203 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.000786/0.01891, allocations: 255.5 kB / 0.7947 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.01996, allocations: 0.5656 MB / 0.7952 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01996, allocations: 0 / 0.7952 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.02066, allocations: 452.7 kB / 0.7956 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.0003608/0.02102, allocations: 26.92 kB / 0.7957 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.02184, allocations: 318.6 kB / 0.796 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.02201, allocations: 110.3 kB / 0.7961 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.02204, allocations: 3.938 kB / 0.7961 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.02206, allocations: 8.5 kB / 0.7961 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.02206, allocations: 1.344 kB / 0.7961 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.009676/0.03173, allocations: 2.76 MB / 0.7988 GB, free: 15.7 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.947071069967933]