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.0007789/0.0007789, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007887/0.0007887, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8924/0.8924, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.736/1.736, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] 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.462e-06/1.462e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.644e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001667/0.001694, allocations: 1.242 MB / 0.9834 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005405/0.002234, allocations: 406.5 kB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.00226, allocations: 0 / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 7.824e-05/0.002338, allocations: 7.938 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.002357, allocations: 0 / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.002806, allocations: 99.56 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.002868, allocations: 19.88 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.002904, allocations: 7.969 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.002938, allocations: 4 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.002962, allocations: 7.984 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.002975, allocations: 0 / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.003169, allocations: 131.7 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.00321, allocations: 23.92 kB / 0.984 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.003234, allocations: 11.88 kB / 0.9841 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.003413, allocations: 135.5 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003415, allocations: 0 / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of FrontEnd: time 6.82e-07/0.003416, allocations: 0 / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003421, allocations: 0 / 0.9842 GB, free: 36 kB / 0.9323 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.0003993/0.00382, allocations: 338.8 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.003853, allocations: 12.03 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.003941, allocations: 12.84 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/0.004025, allocations: 113.7 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.004037, allocations: 4.375 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.004046, allocations: 384 / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.004185, allocations: 146.1 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.004193, allocations: 4.172 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.004201, allocations: 384 / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004205, allocations: 4.312 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.004254, allocations: 67.92 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.004378, allocations: 125.1 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.004443, allocations: 82.48 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.004494, allocations: 73.47 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.004502, allocations: 0 / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.004671, allocations: 172.2 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.342e-06/0.004672, allocations: 0 / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0003684/0.00504, allocations: 401.4 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.00509, allocations: 83.38 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.005158, allocations: 125.7 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.005185, allocations: 49.69 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.005214, allocations: 84.8 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.005275, allocations: 95.36 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.005346, allocations: 94 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.005433, allocations: 330.8 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.00555, allocations: 140.9 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.005698, allocations: 201.1 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.005999, allocations: 396.4 kB / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006002, allocations: 0 / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003617/0.006363, allocations: 430.5 kB / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.006381, allocations: 10.66 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.006388, allocations: 0 / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.006404, allocations: 4 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.00649, allocations: 19.92 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.006497, allocations: 7.938 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.00654, allocations: 35.67 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.006551, allocations: 8 kB / 0.9877 GB, free: 12.23 MB / 0.948 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.0001204/0.006671, allocations: 177.8 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.006681, allocations: 15.84 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.006706, allocations: 9.25 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006708, allocations: 0 / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006712, allocations: 4 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006715, allocations: 3.938 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.517e-05/0.006801, allocations: 117.1 kB / 0.988 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006802, allocations: 8 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.006813, allocations: 3.938 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006815, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.006821, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.006824, allocations: 4 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006825, allocations: 4 kB / 0.988 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.007076, allocations: 330.5 kB / 0.9883 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.007087, allocations: 15.84 kB / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.007112, allocations: 23.98 kB / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.007122, allocations: 0 / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.00714, allocations: 0 / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.007146, allocations: 8 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.007175, allocations: 83.16 kB / 0.9885 GB, free: 11.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007175, allocations: 0 / 0.9885 GB, free: 11.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000202/0.007377, allocations: 51.92 kB / 0.9885 GB, free: 11.33 MB / 0.948 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.0003265/0.007703, allocations: 217.5 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.007958, allocations: 265.5 kB / 0.989 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007959, allocations: 0 / 0.989 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.008006, allocations: 75.91 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.00812, allocations: 6.188 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.008454, allocations: 305.8 kB / 0.9893 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.447e-05/0.008518, allocations: 105.8 kB / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.008545, allocations: 20.5 kB / 0.9895 GB, free: 10.32 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.008545, allocations: 0 / 0.9895 GB, free: 10.32 MB / 0.948 GB Notification: Performance of Templates: time 0.002963/0.01151, allocations: 2.088 MB / 0.9915 GB, free: 8.227 MB / 0.948 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: 7.140105398371816]