Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.001273/0.001273, allocations: 97.06 kB / 19.65 MB, free: 276 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.001524/0.001524, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9926/0.9926, 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.16/2.16, 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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.878e-05, allocations: 3.188 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001661/0.00168, allocations: 1.29 MB / 0.8794 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008169/0.002497, allocations: 0.4983 MB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.002528, allocations: 0.8125 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.002631, allocations: 0.7656 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.372e-05/0.002655, allocations: 8.594 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.003233, allocations: 136.5 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.003314, allocations: 19.92 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.003351, allocations: 4 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.00339, allocations: 20.94 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.003421, allocations: 7.984 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.003437, allocations: 1.125 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.003677, allocations: 155.6 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.003728, allocations: 19.94 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.003759, allocations: 20.62 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.003987, allocations: 163.4 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003989, allocations: 1.625 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00399, allocations: 0 / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.003994, allocations: 4 kB / 0.8804 GB, free: 4.023 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.0004911/0.004485, allocations: 486.5 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.004531, allocations: 9.219 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.004636, allocations: 16.84 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.00485, allocations: 124.4 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.004871, allocations: 1.469 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.004886, allocations: 12.36 kB / 0.881 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.005025, allocations: 85.84 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.005035, allocations: 4.844 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005046, allocations: 384 / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.005055, allocations: 1.156 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.005087, allocations: 31.88 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.005235, allocations: 129.8 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.005308, allocations: 55.06 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.005347, allocations: 35.72 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.005356, allocations: 9.016 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.00548, allocations: 108.6 kB / 0.8815 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.062e-06/0.005481, allocations: 0 / 0.8815 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003906/0.005871, allocations: 314.8 kB / 0.8818 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.005935, allocations: 91.08 kB / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.006043, allocations: 193.8 kB / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.006071, allocations: 52.69 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.006124, allocations: 135.5 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.006204, allocations: 103.3 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.006291, allocations: 99.34 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.006454, allocations: 0.5118 MB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.006525, allocations: 56.62 kB / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.006652, allocations: 146.3 kB / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.006874, allocations: 248.5 kB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006876, allocations: 0 / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003055/0.007182, allocations: 324.2 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.007196, allocations: 4 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.007204, allocations: 0.9062 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.007219, allocations: 4 kB / 0.8837 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.007398, allocations: 72.52 kB / 0.8837 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.007406, allocations: 7.938 kB / 0.8838 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.007449, allocations: 39.83 kB / 0.8838 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.007465, allocations: 12 kB / 0.8838 GB, free: 316 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.0001239/0.007589, allocations: 220.4 kB / 0.884 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.007601, allocations: 11.91 kB / 0.884 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.007628, allocations: 9.625 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.00763, allocations: 4 kB / 0.884 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.007635, allocations: 0 / 0.884 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.00764, allocations: 3.938 kB / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.007757, allocations: 132.5 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.007758, allocations: 3.938 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-06/0.007765, allocations: 0 / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007768, allocations: 4 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.007776, allocations: 0 / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007778, allocations: 4 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007779, allocations: 0 / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.008225, allocations: 297.8 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.008239, allocations: 15.84 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.008262, allocations: 19.98 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.008274, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.008304, allocations: 7.984 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-06/0.008311, allocations: 4 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.008357, allocations: 135.4 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008357, allocations: 0 / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000211/0.008568, allocations: 59.86 kB / 0.8847 GB, free: 15.33 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.0003731/0.008942, allocations: 233.7 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.009162, allocations: 174.1 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009163, allocations: 3.938 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.009208, allocations: 55.92 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.009328, allocations: 19.92 kB / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.009645, allocations: 249 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.984e-05/0.009695, allocations: 71.84 kB / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.009724, allocations: 12.64 kB / 0.8855 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.00975, allocations: 16.5 kB / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.009751, allocations: 0 / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.004101/0.01385, allocations: 2.029 MB / 0.8875 GB, free: 12.45 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.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.653720834292471]