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.001006/0.001006, allocations: 80.8 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.001126/0.001126, allocations: 161 kB / 24.16 MB, free: 336 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.9542/0.9542, allocations: 177.2 MB / 204.6 MB, free: 5.48 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 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] 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.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.372e-06/1.372e-06, allocations: 0 / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.732e-05, allocations: 2.312 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.004852/0.00487, allocations: 1.27 MB / 0.7612 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.005589, allocations: 412.4 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.005614, allocations: 0.9375 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.269e-05/0.005687, allocations: 0.875 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.871e-05/0.005706, allocations: 5.359 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.006151, allocations: 112.6 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.006214, allocations: 14.84 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.006249, allocations: 9.453 kB / 0.7618 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.006282, allocations: 4.656 kB / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.006306, allocations: 12.73 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.006317, allocations: 0 / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.006538, allocations: 128.9 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.006578, allocations: 21.34 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.006599, allocations: 11.61 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.006769, allocations: 118.4 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.00677, allocations: 4 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006771, allocations: 0 / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.006774, allocations: 0 / 0.762 GB, free: 4.621 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003297/0.007104, allocations: 314 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.007135, allocations: 12.72 kB / 0.7624 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.007212, allocations: 8.922 kB / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.007298, allocations: 115.3 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.007308, allocations: 384 / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.00732, allocations: 4.375 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.563e-05/0.007416, allocations: 75.66 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003007/0.01042, allocations: 192 / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-06/0.01043, allocations: 1.25 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-06/0.01043, allocations: 384 / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.01045, allocations: 25.44 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.848e-05/0.01052, allocations: 83.66 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.695e-05/0.01056, allocations: 39.27 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.01058, allocations: 24.88 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.01058, allocations: 4.812 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.256e-05/0.01067, allocations: 103.6 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 6.51e-07/0.01067, allocations: 0 / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.0001841/0.01085, allocations: 200.9 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.01091, allocations: 83.31 kB / 0.7631 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.01098, allocations: 122.6 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.01101, allocations: 45.69 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.01104, allocations: 82.61 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.0111, allocations: 95.31 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.01118, allocations: 81.94 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.01128, allocations: 342.7 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.01134, allocations: 51.8 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.01143, allocations: 104.1 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.01162, allocations: 202.1 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01162, allocations: 0 / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002622/0.01188, allocations: 253.1 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01189, allocations: 6.031 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.0119, allocations: 0 / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01191, allocations: 4 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.0121, allocations: 67.91 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01211, allocations: 7.938 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.01216, allocations: 35.67 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.01218, allocations: 8.5 kB / 0.7645 GB, free: 1.891 MB / 0.7136 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.0001235/0.0123, allocations: 171.5 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.01231, allocations: 0 / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.01233, allocations: 8.5 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.01233, allocations: 4 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01234, allocations: 4 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01234, allocations: 3.984 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.01241, allocations: 77.69 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01241, allocations: 7.938 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-06/0.01242, allocations: 0 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01243, allocations: 0 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.01243, allocations: 3.125 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01243, allocations: 0 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01243, allocations: 4 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.01258, allocations: 177.4 kB / 0.765 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.01259, allocations: 15.88 kB / 0.765 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.01262, allocations: 23.98 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-06/0.01263, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.01264, allocations: 4 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.01264, allocations: 0 / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.095e-05/0.01265, allocations: 14.34 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002264/0.01288, allocations: 43.92 kB / 0.7651 GB, free: 1.301 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: 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.0003467/0.01323, allocations: 214.4 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003163/0.01639, allocations: 135.2 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01639, allocations: 0 / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.01642, allocations: 44.58 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.497e-05/0.01647, allocations: 10.84 kB / 0.7655 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.01668, allocations: 237.1 kB / 0.7657 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.01672, allocations: 75.8 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.01674, allocations: 9.359 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01678, allocations: 59.38 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.01678, allocations: 3.281 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of Templates: time 0.006456/0.02323, allocations: 1.72 MB / 0.7675 GB, free: 14.89 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.019957630895078]