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.001351/0.001351, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001567/0.001567, allocations: 169 kB / 23.27 MB, free: 1.223 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.9264/0.9264, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.319/2.319, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.783e-06/1.783e-06, allocations: 0 / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.698e-05, allocations: 9.344 kB / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001507/0.001524, allocations: 1.27 MB / 0.8909 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005853/0.002109, allocations: 398.7 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.002135, allocations: 0 / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.056e-05/0.002206, allocations: 11.86 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 1.594e-05/0.002222, allocations: 0 / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.002635, allocations: 103.6 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.002688, allocations: 19.91 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.633e-05/0.002714, allocations: 0 / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.002746, allocations: 12 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.97e-05/0.002766, allocations: 7.984 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.002776, allocations: 0 / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.002943, allocations: 127.7 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.002977, allocations: 23.92 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.002993, allocations: 11.92 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.003128, allocations: 119.5 kB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.003129, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00313, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.003133, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 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.0003259/0.003458, allocations: 445 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.00349, allocations: 12.03 kB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.003552, allocations: 16.88 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.669e-05/0.003618, allocations: 124.4 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.003627, allocations: 4.375 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.003633, allocations: 4.375 kB / 0.8923 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.859e-05/0.003701, allocations: 65.14 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/0.003706, allocations: 192 / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.003711, allocations: 384 / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.003715, allocations: 384 / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.003733, allocations: 24.47 kB / 0.8924 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.578e-05/0.003819, allocations: 117.1 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.003856, allocations: 47.05 kB / 0.8926 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.003875, allocations: 24.31 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.003881, allocations: 4 kB / 0.8926 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.284e-05/0.003963, allocations: 111.4 kB / 0.8927 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 7.91e-07/0.003964, allocations: 0 / 0.8927 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0002503/0.004215, allocations: 272.3 kB / 0.893 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.004254, allocations: 83.31 kB / 0.893 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.004324, allocations: 177.9 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.004359, allocations: 53.69 kB / 0.8933 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.004394, allocations: 135.5 kB / 0.8934 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.004456, allocations: 103.4 kB / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.004524, allocations: 103.6 kB / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.004641, allocations: 0.5156 MB / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.004679, allocations: 44.95 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.004764, allocations: 123.2 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.00491, allocations: 206.6 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004912, allocations: 4 kB / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002243/0.005136, allocations: 283.2 kB / 0.8947 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.005148, allocations: 6.656 kB / 0.8947 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.005155, allocations: 4 kB / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.005164, allocations: 0 / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.005302, allocations: 71.89 kB / 0.8948 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.00531, allocations: 7.938 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.005349, allocations: 39.61 kB / 0.8948 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.00536, allocations: 8.125 kB / 0.8948 GB, free: 4.285 MB / 0.8542 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.0001017/0.005462, allocations: 216.5 kB / 0.8951 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.005471, allocations: 11.91 kB / 0.8951 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.005493, allocations: 9.312 kB / 0.8951 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005494, allocations: 0 / 0.8951 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005495, allocations: 4 kB / 0.8951 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005498, allocations: 0 / 0.8951 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.402e-05/0.005582, allocations: 113 kB / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005583, allocations: 0 / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.005592, allocations: 3.984 kB / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005593, allocations: 0 / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.005597, allocations: 4 kB / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005598, allocations: 0 / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0056, allocations: 4 kB / 0.8952 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.00579, allocations: 258.8 kB / 0.8954 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.005801, allocations: 19.84 kB / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.005821, allocations: 23.98 kB / 0.8955 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.005828, allocations: 0 / 0.8955 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.005843, allocations: 7.984 kB / 0.8955 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.005847, allocations: 4 kB / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.005874, allocations: 123.2 kB / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.005874, allocations: 0 / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001656/0.00604, allocations: 43.94 kB / 0.8957 GB, free: 3.398 MB / 0.8542 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.0002577/0.006297, allocations: 216.7 kB / 0.8959 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.006477, allocations: 154.6 kB / 0.896 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.006478, allocations: 0 / 0.896 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.006505, allocations: 47.64 kB / 0.8961 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.655e-05/0.006601, allocations: 11.94 kB / 0.8961 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.006818, allocations: 225 kB / 0.8963 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.006852, allocations: 71.84 kB / 0.8964 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.006878, allocations: 12.64 kB / 0.8964 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.006915, allocations: 78.2 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of SimCode: time 4.8e-07/0.006916, allocations: 0 / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of Templates: time 0.002954/0.00987, allocations: 1.75 MB / 0.8981 GB, free: 0.8125 MB / 0.8542 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.2274007187224925]