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.001823/0.001823, allocations: 85.48 kB / 19.44 MB, free: 344 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.001922/0.001922, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 3.456/3.456, allocations: 429.5 MB / 0.6729 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 176] 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.863e-06/1.863e-06, allocations: 0 / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.94e-05, allocations: 6.281 kB / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00285/0.00288, allocations: 1.256 MB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.004097, allocations: 498.8 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.004129, allocations: 0 / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.292e-05/0.004212, allocations: 1.359 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.004235, allocations: 11.86 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.005043, allocations: 136.4 kB / 0.8793 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.00513, allocations: 23.86 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.005166, allocations: 5.125 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.005212, allocations: 19.97 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.005243, allocations: 7.984 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.005259, allocations: 1.031 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.005618, allocations: 147.7 kB / 0.8795 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.005676, allocations: 27.86 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.005713, allocations: 17.02 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.006053, allocations: 159.4 kB / 0.8797 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.006056, allocations: 0 / 0.8797 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006057, allocations: 0.7188 kB / 0.8797 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.006063, allocations: 0 / 0.8797 GB, free: 4.434 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.0006782/0.006741, allocations: 495.7 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.006781, allocations: 8.031 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.006894, allocations: 16.84 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.007042, allocations: 128.4 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.007062, allocations: 0.875 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.007076, allocations: 5.844 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.007227, allocations: 73.12 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.007239, allocations: 4.172 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.007248, allocations: 4.375 kB / 0.8804 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.007252, allocations: 0.9062 kB / 0.8804 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/0.00731, allocations: 32.69 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.007496, allocations: 128.5 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.007605, allocations: 52.16 kB / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.007676, allocations: 39.72 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.007691, allocations: 5.438 kB / 0.8806 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.007868, allocations: 103 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.00787, allocations: 0 / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005467/0.008417, allocations: 313.5 kB / 0.881 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.008501, allocations: 87.31 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.008684, allocations: 201.8 kB / 0.8813 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.008736, allocations: 45.69 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.008813, allocations: 131.5 kB / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.008937, allocations: 107.3 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.009085, allocations: 111.3 kB / 0.8817 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002867/0.009372, allocations: 0.5157 MB / 0.8822 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.00949, allocations: 60.62 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.009707, allocations: 151.4 kB / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.01006, allocations: 247.4 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.01007, allocations: 8 kB / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005157/0.01058, allocations: 322.5 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.0106, allocations: 4 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01061, allocations: 0 / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01063, allocations: 4 kB / 0.8829 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.01089, allocations: 67.91 kB / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.0109, allocations: 11.92 kB / 0.883 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.01098, allocations: 31.73 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.011, allocations: 16.16 kB / 0.883 GB, free: 0.7109 MB / 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.0002013/0.0112, allocations: 208.5 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.01123, allocations: 15.89 kB / 0.8833 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.01125, allocations: 5.625 kB / 0.8833 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01126, allocations: 4 kB / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01126, allocations: 4 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01126, allocations: 3.938 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01143, allocations: 152.1 kB / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01143, allocations: 0 / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.01144, allocations: 0 / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.01144, allocations: 0 / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01146, allocations: 4 kB / 0.8834 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01146, allocations: 0 / 0.8834 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01146, allocations: 0 / 0.8834 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.01188, allocations: 290.7 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.0119, allocations: 23.84 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.01194, allocations: 19.94 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.01195, allocations: 0 / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.01198, allocations: 4 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01199, allocations: 0 / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.01207, allocations: 131.1 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01207, allocations: 4 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000306/0.01238, allocations: 59.86 kB / 0.8839 GB, free: 15.74 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.0006239/0.013, allocations: 242.5 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.01333, allocations: 178.1 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01333, allocations: 3.938 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.01343, allocations: 55.67 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.01358, allocations: 4.312 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.01406, allocations: 253.2 kB / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01417, allocations: 93.31 kB / 0.8847 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.0142, allocations: 12.64 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.01424, allocations: 16.5 kB / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.01424, allocations: 0 / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.006126/0.02036, allocations: 1.871 MB / 0.8866 GB, free: 12.99 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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: 8.633082302985713]