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.0023/0.0023, 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.00281/0.00281, allocations: 169.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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.105 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.577/3.577, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.523e-06/1.523e-06, allocations: 0 / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.703e-05, allocations: 4.984 kB / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00249/0.002527, allocations: 1.251 MB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003559, allocations: 454.2 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.003586, allocations: 0.8438 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.683e-05/0.003662, allocations: 4.812 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.968e-05/0.003682, allocations: 6.75 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.004242, allocations: 128.3 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.004322, allocations: 23.92 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.004355, allocations: 5.312 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.004391, allocations: 11.97 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.09e-05/0.004422, allocations: 7.984 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.004438, allocations: 4 kB / 0.8793 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.004767, allocations: 144.8 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.004817, allocations: 27.86 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.004849, allocations: 11.92 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005109, allocations: 144.2 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005112, allocations: 1.938 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005112, allocations: 4 kB / 0.8796 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005116, allocations: 3.938 kB / 0.8796 GB, free: 4.512 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.0006479/0.005764, allocations: 474.3 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005801, allocations: 8.031 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.005913, allocations: 24.33 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.006057, allocations: 128.4 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.006075, allocations: 384 / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.006089, allocations: 8.375 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.006245, allocations: 73.12 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006255, allocations: 4.188 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.006268, allocations: 4.375 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.006272, allocations: 384 / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.006323, allocations: 27.92 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.006504, allocations: 124.5 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.006629, allocations: 63.92 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.006684, allocations: 32.72 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.006696, allocations: 4 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.00687, allocations: 108.2 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.172e-06/0.006871, allocations: 0 / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0007477/0.007619, allocations: 310.1 kB / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.007703, allocations: 92.44 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.007885, allocations: 201.7 kB / 0.8812 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.007937, allocations: 45.69 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.008031, allocations: 136.5 kB / 0.8814 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.008161, allocations: 107.3 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.008311, allocations: 111.9 kB / 0.8816 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003255/0.008636, allocations: 0.5157 MB / 0.8821 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.008745, allocations: 57.47 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.008967, allocations: 154.2 kB / 0.8823 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.009335, allocations: 249.1 kB / 0.8825 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.009341, allocations: 4 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005305/0.009871, allocations: 323.6 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.009887, allocations: 5.531 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.009894, allocations: 0 / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.009914, allocations: 4 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.01018, allocations: 67.91 kB / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.0102, allocations: 8.906 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.01027, allocations: 35.67 kB / 0.8829 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.0103, allocations: 12 kB / 0.883 GB, free: 0.8008 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.0002244/0.01052, allocations: 214.1 kB / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01054, allocations: 15.91 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.01057, allocations: 5.625 kB / 0.8832 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01058, allocations: 3.984 kB / 0.8832 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01058, allocations: 4 kB / 0.8832 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01059, allocations: 3.938 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.01075, allocations: 132.2 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01076, allocations: 3.984 kB / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.01077, allocations: 4 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01077, allocations: 0 / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01078, allocations: 7.938 kB / 0.8833 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01078, allocations: 0 / 0.8833 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01078, allocations: 0 / 0.8833 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.01119, allocations: 286.7 kB / 0.8836 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.01121, allocations: 19.83 kB / 0.8836 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.01125, allocations: 19.98 kB / 0.8836 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.01127, allocations: 4 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.01129, allocations: 8 kB / 0.8837 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.0113, allocations: 0 / 0.8837 GB, free: 28 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001159/0.01142, allocations: 143.1 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01142, allocations: 0 / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002941/0.01171, allocations: 51.88 kB / 0.8838 GB, free: 15.84 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.0005684/0.01228, allocations: 231.5 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.01262, allocations: 178 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01262, allocations: 0 / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.0127, allocations: 59.59 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.01285, allocations: 8.516 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.01329, allocations: 245.2 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01341, allocations: 101.6 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.01344, allocations: 8.641 kB / 0.8846 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.01348, allocations: 16.5 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01348, allocations: 0 / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.00573/0.01921, allocations: 1.78 MB / 0.8864 GB, free: 13.19 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 240] 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.904119150945917]