Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002389/0.002389, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002918/0.002918, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.861/2.861, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.075e-05/4.246e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002558/0.002601, allocations: 1.248 MB / 0.7876 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003686, allocations: 466.9 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.003713, allocations: 0.75 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.003729, allocations: 0 / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.003776, allocations: 8.5 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.004418, allocations: 128.7 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.00449, allocations: 15.92 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.004531, allocations: 9.625 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.004569, allocations: 7.984 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.004604, allocations: 7.984 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.00462, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.004966, allocations: 147.7 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.004988, allocations: 9.141 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.005018, allocations: 4 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.005275, allocations: 119.7 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005279, allocations: 0.625 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00528, allocations: 0 / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.005285, allocations: 1.406 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006499/0.005935, allocations: 417.7 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.005977, allocations: 8.031 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.006027, allocations: 5.781 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.006163, allocations: 116.5 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.006189, allocations: 4.938 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.006199, allocations: 1.062 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.006321, allocations: 42.25 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006331, allocations: 1.094 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.006343, allocations: 4.359 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.006348, allocations: 384 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.006389, allocations: 12.53 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.006568, allocations: 118.2 kB / 0.7891 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.006684, allocations: 35.09 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.006726, allocations: 15.69 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.006742, allocations: 4 kB / 0.7892 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.006887, allocations: 65.8 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.006888, allocations: 3.406 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002679/0.007156, allocations: 65.67 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.007222, allocations: 55.41 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.007371, allocations: 169.9 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.007397, allocations: 29.7 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.007506, allocations: 134.9 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.007531, allocations: 7.906 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.007581, allocations: 27.38 kB / 0.7897 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003176/0.007899, allocations: 0.4884 MB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.007923, allocations: 8.719 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.007986, allocations: 50.67 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.557e-05/0.008072, allocations: 52.41 kB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008074, allocations: 5.094 kB / 0.7903 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.008194, allocations: 73.56 kB / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.008208, allocations: 4.781 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.008217, allocations: 3.984 kB / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.008235, allocations: 4.594 kB / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.008318, allocations: 8 kB / 0.7904 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.00833, allocations: 5.281 kB / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.008357, allocations: 7.953 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.008365, allocations: 0 / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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.000133/0.008498, allocations: 169.3 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.008515, allocations: 9.328 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.008538, allocations: 4 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.008539, allocations: 0 / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.008546, allocations: 4 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.008551, allocations: 4.5 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.00871, allocations: 121.2 kB / 0.7907 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008711, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.008722, allocations: 1.281 kB / 0.7907 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008724, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.008731, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008732, allocations: 4.812 kB / 0.7907 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008733, allocations: 0 / 0.7907 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.008915, allocations: 113.9 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.008921, allocations: 0 / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.008935, allocations: 4 kB / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.008954, allocations: 0 / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.008986, allocations: 5.172 kB / 0.7908 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.008994, allocations: 4 kB / 0.7908 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004172/0.009412, allocations: 131.1 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009412, allocations: 0.5312 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002966/0.009708, allocations: 35.92 kB / 0.791 GB, free: 7.777 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * 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.0005327/0.01024, allocations: 179.5 kB / 0.7912 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.01038, allocations: 37.52 kB / 0.7912 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01038, allocations: 0 / 0.7912 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.01044, allocations: 23.67 kB / 0.7912 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.01058, allocations: 4 kB / 0.7912 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.0109, allocations: 119.1 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.79e-05/0.01096, allocations: 64.28 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.01099, allocations: 5.203 kB / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.01101, allocations: 12.5 kB / 0.7914 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.01101, allocations: 3.938 kB / 0.7914 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of Templates: time 0.004715/0.01572, allocations: 1.175 MB / 0.7926 GB, free: 6.152 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.023911160998978]