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.0007765/0.0007765, 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.0007829/0.0007829, 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.8626/0.8626, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.726/1.726, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.324e-06/2.324e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.682e-05, allocations: 10.16 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001738/0.001765, allocations: 1.238 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000568/0.002333, allocations: 395.4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.00236, allocations: 3.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.525e-05/0.002436, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.992e-05/0.002455, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.002872, allocations: 111.5 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.002933, allocations: 19.92 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.002966, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.002999, allocations: 11.98 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.003019, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.003033, allocations: 7.938 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.003214, allocations: 127.7 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.003253, allocations: 23.92 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.003276, allocations: 11.92 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003439, allocations: 123.6 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.003441, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003442, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.003446, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 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.0003703/0.003816, allocations: 334.7 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003848, allocations: 12.75 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.003922, allocations: 16.78 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.004005, allocations: 117.7 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.004019, allocations: 4.359 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.004028, allocations: 4.375 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.004164, allocations: 143.6 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004172, allocations: 192 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.004179, allocations: 384 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.004184, allocations: 8.375 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.004231, allocations: 67.86 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.00435, allocations: 121.1 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.004413, allocations: 78.56 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.004461, allocations: 72.86 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-06/0.004469, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.004614, allocations: 164 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 6.61e-07/0.004614, allocations: 3.938 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0003486/0.004963, allocations: 405.4 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.00501, allocations: 83.38 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.005074, allocations: 125.8 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.005101, allocations: 53.69 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.005129, allocations: 84.78 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.005184, allocations: 91.31 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.005252, allocations: 90 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.005332, allocations: 338.8 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.005443, allocations: 140.9 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.005586, allocations: 201 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.005875, allocations: 404.4 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005877, allocations: 0 / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003333/0.00621, allocations: 430.5 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006222, allocations: 4 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006229, allocations: 0 / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.006241, allocations: 4 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.00631, allocations: 15.92 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.006319, allocations: 11.88 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.006358, allocations: 43.8 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.006369, allocations: 8 kB / 1.006 GB, free: 7.148 MB / 0.9636 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.000106/0.006475, allocations: 177.7 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.006486, allocations: 11.84 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.006504, allocations: 9.312 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006506, allocations: 4 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.00651, allocations: 0 / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006513, allocations: 3.938 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.066e-05/0.006584, allocations: 117.2 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006585, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-06/0.006592, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006593, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006601, allocations: 4 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006601, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006603, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.006834, allocations: 330.7 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.006846, allocations: 19.78 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.006868, allocations: 23.98 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.006877, allocations: 4 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.006894, allocations: 0 / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.006898, allocations: 4 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.662e-05/0.006925, allocations: 87.2 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006925, allocations: 0 / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001781/0.007103, allocations: 43.94 kB / 1.007 GB, free: 6.262 MB / 0.9636 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.0002728/0.007376, allocations: 234.7 kB / 1.007 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.007604, allocations: 265.7 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007605, allocations: 0 / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.007648, allocations: 67.98 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.007752, allocations: 16.5 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.008037, allocations: 300.7 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.008227, allocations: 97.31 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.008248, allocations: 20.44 kB / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of SimCode: time 4.4e-07/0.008249, allocations: 0 / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of Templates: time 0.002688/0.01094, allocations: 2.087 MB / 1.01 GB, free: 3.16 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.65284264460206]