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.001151/0.001151, allocations: 77.09 kB / 20.66 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.00145/0.00145, allocations: 169 kB / 24.06 MB, free: 456 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.188/1.188, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.122/2.122, allocations: 429.5 MB / 0.6743 GB, free: 3.891 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.993e-06/1.993e-06, allocations: 0 / 0.8793 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.719e-05, allocations: 4.984 kB / 0.8793 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001876/0.001903, allocations: 1.3 MB / 0.8806 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.002615, allocations: 490.7 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.002647, allocations: 0 / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.768e-05/0.002735, allocations: 5.031 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.228e-05/0.002757, allocations: 4.484 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.00322, allocations: 140.5 kB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.003291, allocations: 23.92 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.003324, allocations: 0 / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.003358, allocations: 21 kB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.003384, allocations: 11.98 kB / 0.8813 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.003397, allocations: 0 / 0.8813 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.003625, allocations: 152.6 kB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.003663, allocations: 23.92 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.003686, allocations: 16.61 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.003873, allocations: 167.4 kB / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.003876, allocations: 0.5625 kB / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003877, allocations: 0 / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003881, allocations: 3.438 kB / 0.8816 GB, free: 3.727 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.0003881/0.00427, allocations: 490.5 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.004302, allocations: 8.031 kB / 0.8821 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.004376, allocations: 12.84 kB / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.00447, allocations: 132.4 kB / 0.8822 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.004486, allocations: 4.375 kB / 0.8822 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.004493, allocations: 8.312 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.004584, allocations: 77.84 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004591, allocations: 192 / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004599, allocations: 4.922 kB / 0.8823 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004604, allocations: 0.9688 kB / 0.8823 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.004623, allocations: 23.94 kB / 0.8824 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.58e-05/0.004719, allocations: 114.7 kB / 0.8825 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.004774, allocations: 47.06 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.004797, allocations: 32.22 kB / 0.8825 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.004805, allocations: 8 kB / 0.8826 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.00491, allocations: 108.6 kB / 0.8827 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.173e-06/0.004911, allocations: 0 / 0.8827 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003037/0.005215, allocations: 293.9 kB / 0.8829 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.005265, allocations: 87.06 kB / 0.883 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.005352, allocations: 189.8 kB / 0.8832 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.005379, allocations: 49.69 kB / 0.8832 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.005419, allocations: 135.5 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.005484, allocations: 103.3 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.005566, allocations: 115.2 kB / 0.8836 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.005689, allocations: 0.5195 MB / 0.8841 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.005734, allocations: 44.62 kB / 0.8841 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.005822, allocations: 134.2 kB / 0.8843 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.005976, allocations: 214.3 kB / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005978, allocations: 0 / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002444/0.006222, allocations: 307.2 kB / 0.8848 GB, free: 272 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.006236, allocations: 4 kB / 0.8848 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006242, allocations: 0 / 0.8848 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.006252, allocations: 4 kB / 0.8848 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.006405, allocations: 71.84 kB / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.006409, allocations: 7.938 kB / 0.8848 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.006449, allocations: 35.67 kB / 0.8849 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.006459, allocations: 8 kB / 0.8849 GB, free: 140 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.0001213/0.006581, allocations: 216.6 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.006595, allocations: 11.91 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.006621, allocations: 13.62 kB / 0.8851 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006623, allocations: 0 / 0.8851 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.006627, allocations: 3.984 kB / 0.8851 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.006632, allocations: 4.031 kB / 0.8851 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.399e-05/0.006716, allocations: 121 kB / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006717, allocations: 0 / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-06/0.006727, allocations: 0 / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006729, allocations: 4 kB / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006735, allocations: 3.984 kB / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006736, allocations: 0 / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006737, allocations: 0 / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.006974, allocations: 281.7 kB / 0.8855 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.006984, allocations: 19.84 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.007006, allocations: 19.98 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.007017, allocations: 4 kB / 0.8856 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.007037, allocations: 7.984 kB / 0.8856 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007041, allocations: 0 / 0.8856 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.007076, allocations: 127.2 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007076, allocations: 0 / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002248/0.007301, allocations: 63.86 kB / 0.8857 GB, free: 15.2 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.0003428/0.007644, allocations: 238.3 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.007821, allocations: 162.5 kB / 0.8861 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007823, allocations: 0 / 0.8861 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.007859, allocations: 51.64 kB / 0.8862 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.007979, allocations: 11.94 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.00826, allocations: 249.2 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.008299, allocations: 71.84 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.00833, allocations: 12.64 kB / 0.8865 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.00837, allocations: 78.2 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.00837, allocations: 0 / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.003903/0.01227, allocations: 2.071 MB / 0.8886 GB, free: 12.24 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.602010336238891]