Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.001383/0.001383, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001688/0.001688, allocations: 177 kB / 23.36 MB, free: 1.137 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.9732/0.9732, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.29/2.29, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.513e-05, allocations: 4.844 kB / 0.8385 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002269/0.002295, allocations: 1.255 MB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.003078, allocations: 418.4 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.003105, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.042e-05/0.003195, allocations: 3.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.912e-05/0.003214, allocations: 0 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.003669, allocations: 103.6 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.003737, allocations: 15.92 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.003773, allocations: 4 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.003809, allocations: 11.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.003835, allocations: 11.98 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.003848, allocations: 0 / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.004085, allocations: 127.7 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.004129, allocations: 19.94 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.007143, allocations: 7.938 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.007348, allocations: 127.5 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007351, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.007352, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.007355, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003558/0.007711, allocations: 313.3 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.007742, allocations: 16.03 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.007816, allocations: 4.938 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.112e-05/0.007897, allocations: 117.7 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.007907, allocations: 384 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.007919, allocations: 4.375 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.008005, allocations: 71.84 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.008013, allocations: 8.109 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.00802, allocations: 384 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008025, allocations: 384 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.008043, allocations: 24.53 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.747e-05/0.00813, allocations: 75.66 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.008177, allocations: 42.56 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.0082, allocations: 25.48 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.008205, allocations: 0 / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.008309, allocations: 104 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 7.21e-07/0.008309, allocations: 0 / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.000188/0.008497, allocations: 193.1 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.008553, allocations: 87.31 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.008617, allocations: 122.6 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.008644, allocations: 53.67 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.008669, allocations: 84.8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.008723, allocations: 91.31 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.008786, allocations: 85.95 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.008866, allocations: 338.7 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.008916, allocations: 51.8 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.008983, allocations: 105.1 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.009136, allocations: 206 kB / 0.8427 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.009139, allocations: 4 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002072/0.009346, allocations: 247 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.009358, allocations: 4 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.009365, allocations: 4 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.009378, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.009526, allocations: 71.83 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.009531, allocations: 4 kB / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.009572, allocations: 35.67 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.009584, allocations: 11.94 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 69 (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],y,$PRE.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001042/0.009689, allocations: 168.7 kB / 0.8432 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.009696, allocations: 4 kB / 0.8432 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.009719, allocations: 5.312 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.009722, allocations: 4 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.009723, allocations: 0 / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.009727, allocations: 4 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.058e-05/0.009797, allocations: 77.73 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009799, allocations: 3.984 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.009809, allocations: 240 / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.009811, allocations: 0 / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.009815, allocations: 0 / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.009817, allocations: 4 kB / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009818, allocations: 0 / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.01203, allocations: 189.2 kB / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.01205, allocations: 15.84 kB / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.0121, allocations: 23.98 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.01213, allocations: 4 kB / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.01215, allocations: 3.984 kB / 0.8436 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01216, allocations: 3.938 kB / 0.8436 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.01219, allocations: 8.859 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01219, allocations: 0 / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002338/0.01242, allocations: 47.94 kB / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 ($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]) * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003997/0.01282, allocations: 210.1 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.01303, allocations: 139.8 kB / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01303, allocations: 0 / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.01306, allocations: 36.83 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.748e-05/0.01314, allocations: 11.94 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.01343, allocations: 233.5 kB / 0.8442 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.01347, allocations: 71.83 kB / 0.8443 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.0135, allocations: 12.64 kB / 0.8443 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.01354, allocations: 59.38 kB / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.01354, allocations: 0 / 0.8444 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of Templates: time 0.003683/0.01723, allocations: 1.727 MB / 0.846 GB, free: 6.27 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.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.248559138737619]