Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001385/0.001385, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001519/0.001519, allocations: 167.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.555/1.555, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.95/2.95, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 3.938 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.458e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002171/0.002195, allocations: 1.242 MB / 0.9826 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.003046, allocations: 402.5 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.003068, allocations: 0 / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.331e-05/0.003131, allocations: 0 / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.127e-05/0.003153, allocations: 3.938 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.003626, allocations: 107.6 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.003694, allocations: 23.91 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.003725, allocations: 3.938 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.003758, allocations: 11.98 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.479e-05/0.003783, allocations: 3.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.003796, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.004064, allocations: 127.7 kB / 0.9833 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.004105, allocations: 23.92 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.00413, allocations: 7.938 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.004363, allocations: 127.6 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004365, allocations: 0 / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004366, allocations: 4 kB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.00437, allocations: 0 / 0.9834 GB, free: 9.941 MB / 0.9356 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.0004547/0.004825, allocations: 342.7 kB / 0.9837 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.004858, allocations: 11.97 kB / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.004943, allocations: 12.84 kB / 0.9838 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.005056, allocations: 113.7 kB / 0.9839 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.005065, allocations: 4.359 kB / 0.9839 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.00508, allocations: 4.375 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.005263, allocations: 146 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005271, allocations: 192 / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005278, allocations: 4.375 kB / 0.984 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.005282, allocations: 4.375 kB / 0.984 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.005366, allocations: 63.92 kB / 0.9841 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.005512, allocations: 121.1 kB / 0.9842 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.534e-05/0.005607, allocations: 78.56 kB / 0.9843 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.005686, allocations: 72.86 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.005693, allocations: 3.938 kB / 0.9843 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.005902, allocations: 164.2 kB / 0.9845 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 3.497e-06/0.005906, allocations: 3.984 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36): time 0.0005235/0.00643, allocations: 403.1 kB / 0.9849 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.006492, allocations: 83.38 kB / 0.985 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.006591, allocations: 125.7 kB / 0.9851 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.006641, allocations: 57.62 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.006682, allocations: 80.8 kB / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.006774, allocations: 91.36 kB / 0.9853 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.006878, allocations: 90 kB / 0.9854 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.007029, allocations: 342.8 kB / 0.9857 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.007213, allocations: 140.9 kB / 0.9859 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.007447, allocations: 201.1 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.007916, allocations: 396.4 kB / 0.9864 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007919, allocations: 0 / 0.9864 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005793/0.008498, allocations: 430.5 kB / 0.9868 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.008511, allocations: 7.938 kB / 0.9868 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.008517, allocations: 0 / 0.9868 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.008537, allocations: 4 kB / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.008636, allocations: 20.05 kB / 0.9869 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.008647, allocations: 7.938 kB / 0.9869 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.008718, allocations: 39.67 kB / 0.9869 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.008735, allocations: 8 kB / 0.9869 GB, free: 6.133 MB / 0.9356 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.0001759/0.008911, allocations: 181.7 kB / 0.9871 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.008928, allocations: 11.91 kB / 0.9871 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.008952, allocations: 9.312 kB / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008953, allocations: 0 / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.008957, allocations: 0 / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.008963, allocations: 3.938 kB / 0.9871 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.009079, allocations: 125 kB / 0.9872 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00908, allocations: 0 / 0.9872 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.009093, allocations: 0 / 0.9872 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.009095, allocations: 0 / 0.9872 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.009106, allocations: 4 kB / 0.9872 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009107, allocations: 0 / 0.9872 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009108, allocations: 4 kB / 0.9872 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.009502, allocations: 334.3 kB / 0.9876 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.009521, allocations: 19.78 kB / 0.9876 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.009554, allocations: 23.98 kB / 0.9876 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.009572, allocations: 4 kB / 0.9876 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.009595, allocations: 4 kB / 0.9876 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.009599, allocations: 0 / 0.9876 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.009648, allocations: 87.2 kB / 0.9877 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.009649, allocations: 0 / 0.9877 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002773/0.009926, allocations: 43.94 kB / 0.9877 GB, free: 5.238 MB / 0.9356 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.0004369/0.01036, allocations: 231.4 kB / 0.988 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.01072, allocations: 261 kB / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01072, allocations: 256 / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.01079, allocations: 71.98 kB / 0.9883 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.01094, allocations: 6.922 kB / 0.9883 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.01135, allocations: 275 kB / 0.9885 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.01144, allocations: 105.8 kB / 0.9886 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.01148, allocations: 16.64 kB / 0.9887 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.01151, allocations: 16.5 kB / 0.9887 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.01151, allocations: 4 kB / 0.9887 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of Templates: time 0.004785/0.01629, allocations: 1.611 MB / 0.9903 GB, free: 2.648 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.440862964838743]