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.001059/0.001059, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009773/0.0009773, allocations: 181 kB / 24.09 MB, free: 420 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 0.9244/0.9244, allocations: 177.1 MB / 204.5 MB, free: 5.5 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 2.005/2.005, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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.633e-06/1.633e-06, allocations: 0 / 0.8119 GB, free: 384 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.384e-05, allocations: 2.312 kB / 0.812 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001845/0.001859, allocations: 1.264 MB / 0.8132 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.00249, allocations: 410.5 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.002521, allocations: 3.938 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.092e-05/0.002592, allocations: 1.031 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 1.672e-05/0.002608, allocations: 4 kB / 0.8136 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.003023, allocations: 108.3 kB / 0.8137 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.003082, allocations: 19.91 kB / 0.8137 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.003112, allocations: 1.688 kB / 0.8137 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.003146, allocations: 11.98 kB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.963e-05/0.003166, allocations: 4 kB / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.003177, allocations: 0 / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.003373, allocations: 119.7 kB / 0.8138 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.003406, allocations: 29.39 kB / 0.8139 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.003424, allocations: 11.92 kB / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.003567, allocations: 127.5 kB / 0.814 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003569, allocations: 0 / 0.814 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003569, allocations: 1.188 kB / 0.814 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003573, allocations: 0 / 0.814 GB, free: 14.28 MB / 0.7292 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.0003435/0.003917, allocations: 436.7 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.00395, allocations: 9.625 kB / 0.8144 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.004017, allocations: 16.84 kB / 0.8144 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.347e-05/0.00409, allocations: 116.5 kB / 0.8146 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004102, allocations: 8.359 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.004109, allocations: 6.906 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.004194, allocations: 65.73 kB / 0.8146 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004202, allocations: 4.125 kB / 0.8146 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.004208, allocations: 4.375 kB / 0.8146 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004214, allocations: 384 / 0.8146 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.004233, allocations: 23.8 kB / 0.8147 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.887e-05/0.004332, allocations: 113.1 kB / 0.8148 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.004371, allocations: 39.78 kB / 0.8148 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.004392, allocations: 32.78 kB / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.004398, allocations: 0 / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.508e-05/0.004483, allocations: 101.3 kB / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 7.21e-07/0.004483, allocations: 0 / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.0002715/0.004755, allocations: 272.9 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.004798, allocations: 87.31 kB / 0.8153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.004876, allocations: 182.5 kB / 0.8155 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.004903, allocations: 54.67 kB / 0.8155 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.00494, allocations: 131.5 kB / 0.8156 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.005003, allocations: 99.31 kB / 0.8157 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.005076, allocations: 100.8 kB / 0.8158 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.005203, allocations: 0.5195 MB / 0.8163 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.005246, allocations: 44.89 kB / 0.8164 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.00533, allocations: 128.6 kB / 0.8165 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.005475, allocations: 208.4 kB / 0.8167 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005477, allocations: 0 / 0.8167 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002218/0.005699, allocations: 283.4 kB / 0.817 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.005709, allocations: 8 kB / 0.817 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.005715, allocations: 0.5625 kB / 0.817 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.005728, allocations: 4 kB / 0.817 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.005866, allocations: 68.75 kB / 0.817 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.005871, allocations: 4 kB / 0.817 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.005908, allocations: 37.62 kB / 0.8171 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.005919, allocations: 12 kB / 0.8171 GB, free: 10.89 MB / 0.7292 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.0001058/0.006025, allocations: 213.8 kB / 0.8173 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.006033, allocations: 8.516 kB / 0.8173 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.006062, allocations: 11.09 kB / 0.8173 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006065, allocations: 4.234 kB / 0.8173 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.006066, allocations: 0 / 0.8173 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00607, allocations: 3.984 kB / 0.8173 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.088e-05/0.006141, allocations: 117 kB / 0.8174 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.006144, allocations: 9.125 kB / 0.8174 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/0.006151, allocations: 0 / 0.8174 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006153, allocations: 0 / 0.8174 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.006156, allocations: 3.688 kB / 0.8174 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006157, allocations: 0 / 0.8174 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006158, allocations: 4 kB / 0.8175 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.006354, allocations: 255 kB / 0.8177 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.006365, allocations: 15.84 kB / 0.8177 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.006388, allocations: 23.98 kB / 0.8177 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.006396, allocations: 0 / 0.8177 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.006413, allocations: 7.984 kB / 0.8177 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.006415, allocations: 0 / 0.8177 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.006445, allocations: 127.2 kB / 0.8179 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006445, allocations: 1.906 kB / 0.8179 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000182/0.006627, allocations: 43.92 kB / 0.8179 GB, free: 10.01 MB / 0.7292 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.000295/0.006922, allocations: 217.2 kB / 0.8181 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.00711, allocations: 151.8 kB / 0.8183 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007112, allocations: 4 kB / 0.8183 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.007145, allocations: 47.52 kB / 0.8183 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.007253, allocations: 14.17 kB / 0.8183 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.007513, allocations: 224.5 kB / 0.8185 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.007558, allocations: 84.44 kB / 0.8186 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.007588, allocations: 9.312 kB / 0.8186 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.007634, allocations: 84.66 kB / 0.8187 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.007635, allocations: 0 / 0.8187 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of Templates: time 0.003609/0.01124, allocations: 1.735 MB / 0.8204 GB, free: 7.438 MB / 0.7292 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.129218210931867]