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.001072/0.001072, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00106/0.00106, allocations: 177 kB / 23.36 MB, free: 1.133 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.514/2.514, 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 3.136e-06/3.136e-06, allocations: 7.984 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.774e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001734/0.001752, allocations: 1.305 MB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.002417, allocations: 410.5 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.002443, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.543e-05/0.002518, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.893e-05/0.002537, allocations: 3.938 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.002932, allocations: 103.5 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.078e-05/0.002993, allocations: 12 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.003026, allocations: 3.984 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.00306, allocations: 4 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.497e-05/0.003085, allocations: 15.91 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.003096, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.003309, allocations: 135.7 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.003344, allocations: 27.91 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.003364, allocations: 7.938 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003521, allocations: 119.6 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003522, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.733e-06/0.003524, allocations: 4 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.003527, allocations: 0 / 0.8407 GB, free: 12.01 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.0003281/0.003855, allocations: 317.2 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.003886, allocations: 12.03 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.003958, allocations: 4.938 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.004044, allocations: 121.7 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.004053, allocations: 384 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-06/0.004059, allocations: 384 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.004154, allocations: 75.84 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004162, allocations: 192 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.004168, allocations: 384 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004173, allocations: 384 / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.004197, allocations: 28.45 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.857e-05/0.004275, allocations: 83.66 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/0.004317, allocations: 34.58 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.004338, allocations: 25.48 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.004344, allocations: 4 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/0.004443, allocations: 104 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 6.81e-07/0.004444, allocations: 4 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.0001854/0.004629, allocations: 193.1 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.004679, allocations: 87.31 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.004745, allocations: 122.6 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.00477, allocations: 45.69 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.004798, allocations: 88.78 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.004855, allocations: 91.31 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.004919, allocations: 85.95 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.005003, allocations: 342.7 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.005048, allocations: 51.8 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.005119, allocations: 105.1 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.005268, allocations: 202.1 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.005271, allocations: 0 / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002168/0.005488, allocations: 247 kB / 0.843 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005501, allocations: 4 kB / 0.843 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005506, allocations: 0 / 0.843 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.005521, allocations: 4 kB / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.005676, allocations: 75.89 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.00568, allocations: 7.938 kB / 0.8431 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.005718, allocations: 31.67 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.005732, allocations: 15.94 kB / 0.8432 GB, free: 9.254 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.0001078/0.00584, allocations: 168.6 kB / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.005848, allocations: 3.984 kB / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.005867, allocations: 9.312 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005869, allocations: 0 / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.00587, allocations: 0 / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.005875, allocations: 4 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.611e-05/0.005941, allocations: 73.73 kB / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005942, allocations: 4 kB / 0.8434 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-06/0.005951, allocations: 7.984 kB / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005952, allocations: 0 / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.005956, allocations: 0 / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005957, allocations: 0 / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005957, allocations: 0 / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.006084, allocations: 185.3 kB / 0.8436 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.006096, allocations: 15.84 kB / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.006118, allocations: 19.98 kB / 0.8436 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.006125, allocations: 0 / 0.8436 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.006139, allocations: 7.938 kB / 0.8436 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.006143, allocations: 11.98 kB / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.988e-06/0.006153, allocations: 8.859 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006153, allocations: 0 / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001589/0.006312, allocations: 43.94 kB / 0.8437 GB, free: 8.652 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.0003152/0.006627, allocations: 210.6 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.006773, allocations: 131.8 kB / 0.844 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.006775, allocations: 3.938 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.006803, allocations: 40.78 kB / 0.8441 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.671e-05/0.00687, allocations: 13.42 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.007123, allocations: 229.5 kB / 0.8443 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.007163, allocations: 79.83 kB / 0.8444 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.00719, allocations: 12.64 kB / 0.8444 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.00723, allocations: 59.38 kB / 0.8445 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.00723, allocations: 0 / 0.8445 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of Templates: time 0.003453/0.01068, allocations: 1.715 MB / 0.8461 GB, free: 6.16 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 -s gbode -gbm=radauIIA3 -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.463163515087217]