Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001012/0.001012, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009528/0.0009528, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9777/0.9777, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.8 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.756e-05, allocations: 5.828 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001492/0.00151, allocations: 1.255 MB / 0.8127 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006134/0.002123, allocations: 420.5 kB / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.002145, allocations: 0 / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 7.098e-05/0.002216, allocations: 4.469 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.344e-05/0.00223, allocations: 1.094 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.002641, allocations: 99.56 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.002697, allocations: 19.92 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.002729, allocations: 8.641 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.00276, allocations: 10.39 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.002779, allocations: 4 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.002791, allocations: 3.938 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.002967, allocations: 123.7 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.003001, allocations: 23.92 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.003021, allocations: 7.938 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.003171, allocations: 127.5 kB / 0.8135 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003172, allocations: 0.9062 kB / 0.8135 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003174, allocations: 4 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.003177, allocations: 1.031 kB / 0.8136 GB, free: 15.64 MB / 0.7761 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.0003384/0.003516, allocations: 437 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.003543, allocations: 9.375 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.003607, allocations: 16.84 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.401e-05/0.003681, allocations: 116.5 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.003689, allocations: 384 / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.003699, allocations: 6.312 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.003789, allocations: 80.78 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.0038, allocations: 4.172 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.003807, allocations: 384 / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.003814, allocations: 384 / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.003838, allocations: 30.52 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.752e-05/0.003935, allocations: 132.4 kB / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.003974, allocations: 47.06 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.003998, allocations: 31.72 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.004002, allocations: 0.9062 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.204e-05/0.004084, allocations: 111.6 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 7.32e-07/0.004085, allocations: 0.5312 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.000271/0.004356, allocations: 293.9 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.004395, allocations: 87.25 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.004469, allocations: 186.3 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.004492, allocations: 50.86 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.004525, allocations: 131.5 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.00458, allocations: 95.41 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.004655, allocations: 100.2 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.00477, allocations: 0.5079 MB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.004831, allocations: 58.33 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.00493, allocations: 143.2 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.005107, allocations: 231.8 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005109, allocations: 0.9688 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002525/0.005361, allocations: 311.5 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.005371, allocations: 7.938 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005376, allocations: 4.844 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.00539, allocations: 0 / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.005534, allocations: 69.19 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005539, allocations: 7.938 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.005575, allocations: 35.67 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.005587, allocations: 12.84 kB / 0.8168 GB, free: 12.11 MB / 0.7761 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.000104/0.005691, allocations: 211.3 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.005698, allocations: 3.953 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.005717, allocations: 9.312 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005718, allocations: 4.5 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.005721, allocations: 1.344 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005725, allocations: 3.938 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.02e-05/0.005795, allocations: 132.5 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005795, allocations: 1 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-06/0.005803, allocations: 0 / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.005804, allocations: 0 / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005808, allocations: 0.5312 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.00581, allocations: 4 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005811, allocations: 4.656 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.006016, allocations: 276.7 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.006027, allocations: 15.89 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.006047, allocations: 19.98 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.006055, allocations: 0 / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.006069, allocations: 3.938 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.006074, allocations: 4 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.006104, allocations: 127.4 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006104, allocations: 0 / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001569/0.006261, allocations: 50.67 kB / 0.8176 GB, free: 11.21 MB / 0.7761 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.0002595/0.006521, allocations: 226.6 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.006694, allocations: 170.6 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.006695, allocations: 0 / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.006726, allocations: 51.67 kB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.709e-05/0.006813, allocations: 0 / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.007031, allocations: 237.4 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.007065, allocations: 75.8 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.007087, allocations: 14.3 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.007106, allocations: 12.5 kB / 0.8184 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.007106, allocations: 0 / 0.8184 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of Templates: time 0.002779/0.009885, allocations: 1.598 MB / 0.8199 GB, free: 8.824 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.3195202448405325]