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.001474/0.001474, 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.001549/0.001549, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.325/3.325, allocations: 429.6 MB / 0.673 GB, free: 3.891 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.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.643e-06/1.643e-06, allocations: 0 / 0.8776 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.938e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002656/0.002686, allocations: 1.248 MB / 0.8788 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003768, allocations: 454.2 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.003797, allocations: 0 / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.207e-05/0.003879, allocations: 5.156 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.952e-05/0.003899, allocations: 3.938 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006238/0.004523, allocations: 120.6 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.004607, allocations: 27.84 kB / 0.8794 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.004641, allocations: 0 / 0.8794 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.004687, allocations: 16.64 kB / 0.8794 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.004716, allocations: 7.984 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.00473, allocations: 1 kB / 0.8794 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.00506, allocations: 147.7 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.005132, allocations: 28.56 kB / 0.8796 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.005174, allocations: 11.94 kB / 0.8796 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.005467, allocations: 148.2 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.00547, allocations: 0 / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00547, allocations: 3.438 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005475, allocations: 0 / 0.8797 GB, free: 4.398 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.0005932/0.006068, allocations: 376.3 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.006111, allocations: 12.02 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.00622, allocations: 20.84 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.00636, allocations: 121.6 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.006377, allocations: 384 / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.00639, allocations: 4.375 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.006613, allocations: 151.1 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.006621, allocations: 0.7812 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.006631, allocations: 384 / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.006634, allocations: 1.438 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.006725, allocations: 67.86 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.006899, allocations: 117.2 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.007043, allocations: 87.14 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.007132, allocations: 66.42 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.007143, allocations: 0 / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.007429, allocations: 179.3 kB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 3.306e-06/0.007432, allocations: 7.922 kB / 0.8809 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006564/0.008089, allocations: 409.8 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.008174, allocations: 87.31 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.008307, allocations: 133.7 kB / 0.8815 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.008362, allocations: 45.69 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.008425, allocations: 88.8 kB / 0.8816 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.008538, allocations: 99.3 kB / 0.8817 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.008663, allocations: 89.67 kB / 0.8818 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.008867, allocations: 334.8 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.009094, allocations: 140.6 kB / 0.8822 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.009377, allocations: 213.3 kB / 0.8824 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.009952, allocations: 405.2 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009955, allocations: 0 / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006725/0.01063, allocations: 454.5 kB / 0.8833 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.01065, allocations: 12.16 kB / 0.8833 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01065, allocations: 0 / 0.8833 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.01067, allocations: 4 kB / 0.8833 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01078, allocations: 19.88 kB / 0.8833 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.01079, allocations: 7.938 kB / 0.8833 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.01088, allocations: 43.64 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.0109, allocations: 12 kB / 0.8834 GB, free: 468 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.0002079/0.01111, allocations: 173.8 kB / 0.8835 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.01114, allocations: 19.83 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.01117, allocations: 13.62 kB / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01117, allocations: 0 / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01117, allocations: 0 / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01118, allocations: 3.938 kB / 0.8836 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.01132, allocations: 124.9 kB / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01132, allocations: 0 / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.01133, allocations: 8 kB / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01134, allocations: 0 / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01134, allocations: 0 / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01134, allocations: 0 / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01135, allocations: 0 / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.01186, allocations: 339.3 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.01188, allocations: 15.84 kB / 0.884 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.01192, allocations: 27.98 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.776e-05/0.01194, allocations: 0 / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.01197, allocations: 4 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01198, allocations: 7.922 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.01204, allocations: 95.53 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01204, allocations: 0 / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003213/0.01236, allocations: 55.86 kB / 0.8842 GB, free: 15.54 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.0005671/0.01293, allocations: 232 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.01336, allocations: 272.9 kB / 0.8847 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01337, allocations: 0 / 0.8847 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01352, allocations: 71.98 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.01368, allocations: 8.172 kB / 0.8848 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.0142, allocations: 295.6 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.01431, allocations: 105.6 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.01436, allocations: 16.64 kB / 0.8852 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.01439, allocations: 20.48 kB / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01439, allocations: 0 / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005515/0.01991, allocations: 1.775 MB / 0.8869 GB, free: 12.73 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.37003467103932]