Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.001222/0.001222, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001115/0.001115, allocations: 173 kB / 24.06 MB, free: 452 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 1.107/1.107, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.108/2.108, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.961e-05, allocations: 5.266 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002539/0.002568, allocations: 1.262 MB / 0.8806 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.003432, allocations: 420.9 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.00347, allocations: 0 / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.00357, allocations: 4.594 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.003631, allocations: 0.875 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.004079, allocations: 108.6 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.004142, allocations: 19.92 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.004177, allocations: 0 / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.004212, allocations: 11.97 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.323e-05/0.004235, allocations: 8 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004248, allocations: 4.844 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.00444, allocations: 127.7 kB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.004476, allocations: 24.97 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.004502, allocations: 11.92 kB / 0.8813 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.004664, allocations: 119.7 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004667, allocations: 1.062 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004668, allocations: 0 / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004673, allocations: 0 / 0.8814 GB, free: 3.965 MB / 0.8386 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.0003968/0.005069, allocations: 442.1 kB / 0.8818 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.0051, allocations: 8.031 kB / 0.8818 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.005178, allocations: 24.75 kB / 0.8819 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.914e-05/0.005267, allocations: 121.5 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.005279, allocations: 4.375 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.005285, allocations: 8 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.005366, allocations: 65.14 kB / 0.8821 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005374, allocations: 192 / 0.8821 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.005379, allocations: 4.375 kB / 0.8821 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.005385, allocations: 4.359 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.005404, allocations: 19.94 kB / 0.8821 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.00551, allocations: 113.1 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.005559, allocations: 43.05 kB / 0.8822 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.005586, allocations: 32.25 kB / 0.8823 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-06/0.005592, allocations: 4.625 kB / 0.8823 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.005698, allocations: 100.8 kB / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.473e-06/0.0057, allocations: 0 / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.0002977/0.005997, allocations: 277.4 kB / 0.8826 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.006055, allocations: 84.34 kB / 0.8827 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.006143, allocations: 185.8 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.006171, allocations: 49.67 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.006221, allocations: 137 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.006289, allocations: 99.31 kB / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.006369, allocations: 99.61 kB / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.006515, allocations: 0.5195 MB / 0.8838 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.006565, allocations: 45.77 kB / 0.8838 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.006665, allocations: 127.2 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.006826, allocations: 211.5 kB / 0.8841 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.006829, allocations: 4 kB / 0.8841 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002452/0.007075, allocations: 282.6 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.00709, allocations: 11.98 kB / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.007097, allocations: 0 / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007108, allocations: 4 kB / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.007266, allocations: 67.91 kB / 0.8845 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007269, allocations: 0 / 0.8845 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.00731, allocations: 39.8 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.007321, allocations: 8 kB / 0.8845 GB, free: 0.543 MB / 0.8386 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.0001278/0.007449, allocations: 212.5 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.00746, allocations: 11.89 kB / 0.8847 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.007486, allocations: 13.31 kB / 0.8848 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007488, allocations: 0 / 0.8848 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.007491, allocations: 4 kB / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007494, allocations: 0 / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.007576, allocations: 113 kB / 0.8849 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007577, allocations: 0 / 0.8849 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.007592, allocations: 4 kB / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007593, allocations: 0 / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.007598, allocations: 0 / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007598, allocations: 0 / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0076, allocations: 3.938 kB / 0.8849 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.007831, allocations: 258.2 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.007848, allocations: 19.83 kB / 0.8851 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.007874, allocations: 23.94 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.007887, allocations: 4 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.007905, allocations: 3.984 kB / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.00791, allocations: 0 / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.007952, allocations: 127.2 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007952, allocations: 0 / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002106/0.008162, allocations: 47.92 kB / 0.8853 GB, free: 15.66 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.0003417/0.008504, allocations: 218.2 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.008682, allocations: 147.8 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008683, allocations: 4 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.008715, allocations: 43.66 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.00883, allocations: 17.11 kB / 0.8857 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.009088, allocations: 232.5 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.009127, allocations: 75.83 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.009158, allocations: 16.58 kB / 0.8861 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.009201, allocations: 78.2 kB / 0.8861 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.009202, allocations: 0 / 0.8861 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.00353/0.01273, allocations: 1.809 MB / 0.8879 GB, free: 13 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.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.574471363332123]