Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.001395/0.001395, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001654/0.001654, allocations: 161 kB / 24.17 MB, free: 328 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.082/1.082, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.016/2.016, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.071e-05, allocations: 2.312 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002079/0.002109, allocations: 1.327 MB / 0.7613 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000674/0.002783, allocations: 423 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.00281, allocations: 0.8125 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.002886, allocations: 4.594 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.459e-05/0.002911, allocations: 1.406 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.003327, allocations: 107.5 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.0034, allocations: 26.7 kB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.003434, allocations: 0.9688 kB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.003475, allocations: 16.86 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.388e-05/0.003499, allocations: 9.859 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003512, allocations: 4.969 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.003731, allocations: 139.7 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.003769, allocations: 21.77 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.003796, allocations: 16.8 kB / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.004217, allocations: 137.3 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004219, allocations: 0 / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004219, allocations: 0 / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004223, allocations: 4.656 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003317/0.004555, allocations: 343.7 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.004585, allocations: 8.031 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.004659, allocations: 9.672 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.971e-05/0.004749, allocations: 125.6 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.00476, allocations: 2.406 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.004768, allocations: 4.375 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.004864, allocations: 84.38 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004872, allocations: 4.172 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004881, allocations: 4.375 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004886, allocations: 1.719 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.004909, allocations: 28.62 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.733e-05/0.004997, allocations: 75.75 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.005056, allocations: 43.83 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.005081, allocations: 28.89 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.005088, allocations: 4 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.005203, allocations: 105.4 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.133e-06/0.005204, allocations: 0 / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0002096/0.005414, allocations: 209.2 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.005469, allocations: 87.31 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.005538, allocations: 126.6 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.005565, allocations: 45.69 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.00559, allocations: 84.8 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.00565, allocations: 99.25 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.005718, allocations: 85.61 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.005803, allocations: 342.7 kB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.005853, allocations: 51.47 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.005933, allocations: 108.3 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.006097, allocations: 218.9 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.006101, allocations: 4 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002214/0.006322, allocations: 251.8 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.00634, allocations: 8 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006346, allocations: 4.844 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006358, allocations: 4 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.006514, allocations: 73.06 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.006519, allocations: 4 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.00656, allocations: 35.67 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.006573, allocations: 14.38 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 0 * 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.000109/0.006682, allocations: 173.2 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.00669, allocations: 5.469 kB / 0.765 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.006714, allocations: 5.312 kB / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006716, allocations: 0 / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.006717, allocations: 0 / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.006721, allocations: 6.422 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.303e-05/0.006794, allocations: 81.69 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006795, allocations: 0 / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.006805, allocations: 7.938 kB / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006806, allocations: 0 / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.00681, allocations: 0 / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006811, allocations: 2.125 kB / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006812, allocations: 0 / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.006971, allocations: 193.1 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.006984, allocations: 19.84 kB / 0.7653 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.007007, allocations: 19.98 kB / 0.7653 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.007017, allocations: 0 / 0.7653 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.007037, allocations: 9.406 kB / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.007042, allocations: 3.984 kB / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.114e-05/0.007053, allocations: 8.859 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007053, allocations: 0 / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001754/0.007228, allocations: 53.16 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003763/0.007605, allocations: 219.5 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.00777, allocations: 144.5 kB / 0.7657 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.007774, allocations: 4.562 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.007807, allocations: 44.78 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.432e-05/0.007881, allocations: 13.12 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.008153, allocations: 242.2 kB / 0.766 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.00819, allocations: 72.44 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.008219, allocations: 14.14 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.008259, allocations: 63.36 kB / 0.7661 GB, free: 156 kB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.00826, allocations: 0 / 0.7661 GB, free: 156 kB / 0.7136 GB Notification: Performance of Templates: time 0.003628/0.01189, allocations: 1.796 MB / 0.7679 GB, free: 14.47 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.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.307137726806104]