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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009497/0.0009497, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.067/1.067, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.12/2.12, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 2.234e-06/2.234e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.658e-05, allocations: 11.02 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002612/0.002639, allocations: 1.284 MB / 0.8794 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.00355, allocations: 413.1 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.003583, allocations: 2.938 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003685, allocations: 3.938 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.068e-05/0.003716, allocations: 0.5469 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.004278, allocations: 111.4 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.004352, allocations: 21.19 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.004397, allocations: 4 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.004438, allocations: 11.92 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.004467, allocations: 5.094 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004482, allocations: 0 / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.004765, allocations: 131.7 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.004813, allocations: 24.58 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.00484, allocations: 3.938 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.005085, allocations: 124.3 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005087, allocations: 0 / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005088, allocations: 7.719 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.005094, allocations: 0 / 0.8802 GB, free: 4.242 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.0005813/0.005675, allocations: 445 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.005727, allocations: 8.031 kB / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.005851, allocations: 12.88 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005991, allocations: 124.4 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006008, allocations: 384 / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.006028, allocations: 8.312 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.006194, allocations: 77.14 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.006209, allocations: 1.688 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.006221, allocations: 384 / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.006232, allocations: 384 / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.006286, allocations: 31.92 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.006451, allocations: 129.5 kB / 0.881 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.006523, allocations: 47.06 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.006578, allocations: 37.25 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.006588, allocations: 4 kB / 0.8811 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.006733, allocations: 108.8 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.006735, allocations: 0 / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36): time 0.0004677/0.007202, allocations: 295.5 kB / 0.8815 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.007277, allocations: 87.31 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.007396, allocations: 185.8 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.007589, allocations: 53.67 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.007637, allocations: 127.5 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.007739, allocations: 99.34 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.00786, allocations: 99.66 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.008018, allocations: 0.5097 MB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.008129, allocations: 64.89 kB / 0.8827 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.008298, allocations: 139.2 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.008614, allocations: 233 kB / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.008617, allocations: 0 / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004419/0.009059, allocations: 314.5 kB / 0.8833 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.009076, allocations: 6.531 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.009084, allocations: 0 / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.009103, allocations: 4.875 kB / 0.8833 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.009373, allocations: 67.91 kB / 0.8834 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.009384, allocations: 12.06 kB / 0.8834 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.009452, allocations: 31.73 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.009475, allocations: 16 kB / 0.8834 GB, free: 0.6836 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.0001554/0.009631, allocations: 204.5 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.009652, allocations: 15.95 kB / 0.8837 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.009683, allocations: 5.312 kB / 0.8837 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.009687, allocations: 4 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.00969, allocations: 0 / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.009697, allocations: 7.922 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.009803, allocations: 124.5 kB / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.009805, allocations: 0 / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.009825, allocations: 4 kB / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.009828, allocations: 0 / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.009836, allocations: 0 / 0.8838 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.00984, allocations: 4 kB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.009843, allocations: 7.984 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.01018, allocations: 266.1 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.0102, allocations: 19.83 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.01023, allocations: 19.94 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.01025, allocations: 0 / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.01027, allocations: 4 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.01028, allocations: 4 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.01033, allocations: 131.1 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01033, allocations: 0 / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002929/0.01062, allocations: 43.94 kB / 0.8843 GB, free: 15.77 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.0004753/0.01109, allocations: 226.3 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.01139, allocations: 162 kB / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.0114, allocations: 0 / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.01145, allocations: 60.81 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.01162, allocations: 2.062 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.01201, allocations: 236.7 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.01207, allocations: 75.78 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.0121, allocations: 12.64 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.01213, allocations: 12.5 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of SimCode: time 6.42e-07/0.01213, allocations: 4 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.003582/0.01572, allocations: 1.63 MB / 0.8866 GB, free: 13.34 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.727504959329963]