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.001449/0.001449, allocations: 88.72 kB / 19.44 MB, free: 356 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.001691/0.001691, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.34/3.34, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.784e-06/1.784e-06, allocations: 0 / 0.8775 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.514e-05, allocations: 5.406 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002626/0.002661, allocations: 1.257 MB / 0.8788 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003822, allocations: 491.3 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.003854, allocations: 0 / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.003939, allocations: 0 / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.509e-05/0.003964, allocations: 8.969 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.004727, allocations: 131.4 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.004808, allocations: 25.06 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.004847, allocations: 7.938 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.004894, allocations: 11.98 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.607e-05/0.00493, allocations: 12.53 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.004947, allocations: 4 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.005337, allocations: 156.5 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.005394, allocations: 27.86 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.005431, allocations: 11.38 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.005759, allocations: 163.4 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.005763, allocations: 4 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005765, allocations: 0 / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005769, allocations: 0 / 0.8798 GB, free: 4.246 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.0006153/0.006384, allocations: 384.2 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.006421, allocations: 8.031 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.006533, allocations: 20.84 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.006681, allocations: 125.5 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.006699, allocations: 0.9688 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.006711, allocations: 5.594 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.006939, allocations: 147.1 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.006948, allocations: 192 / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.00696, allocations: 384 / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.006964, allocations: 1.906 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.007053, allocations: 63.92 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.007248, allocations: 121.1 kB / 0.8806 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.007385, allocations: 86.55 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.007482, allocations: 64.89 kB / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.007494, allocations: 0 / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.007792, allocations: 175.3 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.012e-06/0.007793, allocations: 0 / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006728/0.008466, allocations: 413.8 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.008554, allocations: 87.31 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008687, allocations: 133.7 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.008744, allocations: 49.69 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.008804, allocations: 88.8 kB / 0.8817 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.008921, allocations: 99.3 kB / 0.8818 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.009046, allocations: 89.67 kB / 0.8819 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.009248, allocations: 334.8 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.00947, allocations: 140.6 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.009745, allocations: 209.3 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.01031, allocations: 409.2 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01031, allocations: 4 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006559/0.01097, allocations: 450.5 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01098, allocations: 8 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.01099, allocations: 0 / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.01102, allocations: 7.938 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01115, allocations: 19.94 kB / 0.8834 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.01115, allocations: 3.938 kB / 0.8834 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.01124, allocations: 35.72 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.01126, allocations: 16.2 kB / 0.8834 GB, free: 320 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.0001945/0.01145, allocations: 173.7 kB / 0.8836 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.01148, allocations: 15.89 kB / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.0115, allocations: 13.62 kB / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01151, allocations: 4 kB / 0.8836 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.01151, allocations: 4 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01152, allocations: 3.938 kB / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.01169, allocations: 129 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01169, allocations: 0 / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.01171, allocations: 7.938 kB / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01171, allocations: 0 / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.01172, allocations: 0 / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01172, allocations: 0 / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01172, allocations: 0 / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.01219, allocations: 339.1 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01222, allocations: 19.84 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.01225, allocations: 23.98 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.01227, allocations: 4 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.0123, allocations: 3.984 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.01231, allocations: 3.938 kB / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.01237, allocations: 87.59 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01237, allocations: 0 / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003237/0.0127, allocations: 59.86 kB / 0.8843 GB, free: 15.39 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.0005593/0.01326, allocations: 248.3 kB / 0.8845 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.01368, allocations: 261 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01368, allocations: 0 / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01378, allocations: 79.91 kB / 0.8848 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.01395, allocations: 6.656 kB / 0.8848 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.01448, allocations: 295.6 kB / 0.8851 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.01461, allocations: 109.2 kB / 0.8852 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.01465, allocations: 16.64 kB / 0.8852 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.01469, allocations: 12.5 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of SimCode: time 3.8e-07/0.01469, allocations: 0 / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.005806/0.02049, allocations: 1.882 MB / 0.8871 GB, free: 12.47 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 800] 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.460762589005753]