Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.001376/0.001376, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001985/0.001985, allocations: 169 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.196/1.196, 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.165/2.165, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.47e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001726/0.00175, allocations: 1.29 MB / 0.8806 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.002467, allocations: 463.2 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.0025, allocations: 0 / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.459e-05/0.002585, allocations: 0 / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.002607, allocations: 5.75 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.003085, allocations: 130.8 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.003155, allocations: 19.92 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.00319, allocations: 4 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.003226, allocations: 23.91 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.274e-05/0.003249, allocations: 7.984 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.003261, allocations: 0 / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.003489, allocations: 143.7 kB / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.00353, allocations: 23.92 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.003553, allocations: 11.92 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.003734, allocations: 148 kB / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003736, allocations: 0 / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003737, allocations: 1.312 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003741, allocations: 0 / 0.8816 GB, free: 3.836 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004914/0.004233, allocations: 482.5 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.004275, allocations: 13.19 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.00436, allocations: 20.83 kB / 0.882 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.49e-05/0.004455, allocations: 120.5 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.004472, allocations: 5.406 kB / 0.8822 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.00448, allocations: 384 / 0.8822 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.004575, allocations: 81.84 kB / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004583, allocations: 1.719 kB / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.004589, allocations: 384 / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004595, allocations: 384 / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.004621, allocations: 31.86 kB / 0.8823 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.004735, allocations: 122.3 kB / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.004796, allocations: 51.05 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.004823, allocations: 28.28 kB / 0.8825 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.004828, allocations: 4 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.004943, allocations: 108.6 kB / 0.8826 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 6.91e-07/0.004944, allocations: 0 / 0.8826 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003445/0.005289, allocations: 297.8 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.00534, allocations: 91.06 kB / 0.8829 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.005426, allocations: 185.8 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.005455, allocations: 53.67 kB / 0.8832 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.005493, allocations: 127.5 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.005561, allocations: 107.3 kB / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.005635, allocations: 107.3 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.005769, allocations: 0.5234 MB / 0.884 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.005815, allocations: 40.62 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.005906, allocations: 138.2 kB / 0.8842 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.006074, allocations: 218.3 kB / 0.8844 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.006078, allocations: 3.984 kB / 0.8844 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002666/0.006345, allocations: 291.2 kB / 0.8847 GB, free: 396 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.00636, allocations: 8 kB / 0.8847 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.006367, allocations: 0 / 0.8847 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.006381, allocations: 7.984 kB / 0.8847 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.006534, allocations: 71.91 kB / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.00654, allocations: 4 kB / 0.8848 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.526e-05/0.006585, allocations: 39.61 kB / 0.8848 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.006598, allocations: 8 kB / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,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],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0001285/0.006726, allocations: 212.6 kB / 0.885 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.006739, allocations: 15.91 kB / 0.885 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.006762, allocations: 5.625 kB / 0.885 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006764, allocations: 4 kB / 0.885 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006766, allocations: 0 / 0.885 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006769, allocations: 4 kB / 0.885 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.006871, allocations: 121 kB / 0.8851 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.006872, allocations: 3.938 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.006881, allocations: 0 / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.006882, allocations: 48 / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.006889, allocations: 11.92 kB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.00689, allocations: 0 / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006891, allocations: 0 / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.007126, allocations: 281.7 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.007141, allocations: 23.78 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.007164, allocations: 19.98 kB / 0.8855 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.007174, allocations: 4 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.007192, allocations: 4 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.007195, allocations: 0 / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.007235, allocations: 127.2 kB / 0.8856 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007235, allocations: 0 / 0.8856 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002213/0.007456, allocations: 59.91 kB / 0.8857 GB, free: 15.32 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: 36 ($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],r) * 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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003252/0.007781, allocations: 230.8 kB / 0.8859 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.007965, allocations: 154.6 kB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007966, allocations: 0 / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.008001, allocations: 51.59 kB / 0.8861 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.00812, allocations: 13.31 kB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.008382, allocations: 249.3 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.00842, allocations: 79.83 kB / 0.8864 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.008447, allocations: 8.641 kB / 0.8864 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.008491, allocations: 78.2 kB / 0.8865 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.008492, allocations: 0 / 0.8865 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.003907/0.0124, allocations: 1.968 MB / 0.8884 GB, free: 12.47 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.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.723388452082872]