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.001321/0.001321, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001287/0.001287, allocations: 165 kB / 23.82 MB, free: 0.7422 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.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.888/1.888, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.974e-06/1.974e-06, allocations: 0 / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.348e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00282/0.002854, allocations: 1.281 MB / 0.7883 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003896, allocations: 464 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.003932, allocations: 0 / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.003961, allocations: 5.406 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.004008, allocations: 0 / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.004788, allocations: 127.4 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.604e-05/0.004874, allocations: 22.39 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.004922, allocations: 7.984 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.004965, allocations: 4 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.005002, allocations: 7.984 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00502, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.005371, allocations: 147.7 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.005391, allocations: 3.938 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.005429, allocations: 13.72 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.005709, allocations: 119.7 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.005713, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005715, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.005721, allocations: 0.5938 kB / 0.7892 GB, free: 10.34 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.0005854/0.006306, allocations: 418.5 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.006355, allocations: 13.19 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.006409, allocations: 0.9375 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.006527, allocations: 112.6 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.006559, allocations: 4.375 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.006576, allocations: 2.125 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.006738, allocations: 58.88 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.006751, allocations: 4.188 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.006764, allocations: 384 / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.006774, allocations: 1.719 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.0068, allocations: 7.938 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.006959, allocations: 116.6 kB / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.007065, allocations: 36.06 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.007097, allocations: 11.69 kB / 0.7899 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.007105, allocations: 0.75 kB / 0.7899 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.007237, allocations: 75.66 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.007239, allocations: 4 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002316/0.007471, allocations: 61.69 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.007516, allocations: 55.39 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.007636, allocations: 165.9 kB / 0.7903 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.007652, allocations: 25.7 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.007716, allocations: 146.8 kB / 0.7904 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.007741, allocations: 4.484 kB / 0.7905 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.007783, allocations: 24.09 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.007942, allocations: 0.4923 MB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.007962, allocations: 4.531 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.008005, allocations: 42.73 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.008081, allocations: 56.34 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008084, allocations: 0 / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001199/0.008204, allocations: 66.66 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.008222, allocations: 6.188 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008228, allocations: 0 / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.008247, allocations: 5.156 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.008348, allocations: 19.92 kB / 0.7911 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.008357, allocations: 3.938 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.008389, allocations: 13.27 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.008398, allocations: 0 / 0.7912 GB, free: 8.082 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.000103/0.008501, allocations: 160.6 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.008518, allocations: 4.906 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.008556, allocations: 7.984 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008558, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.008563, allocations: 0.7812 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.008568, allocations: 7.938 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.008687, allocations: 117.9 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.00869, allocations: 3.984 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.008705, allocations: 0 / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008708, allocations: 0.8438 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.008717, allocations: 4 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008719, allocations: 1.438 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.008721, allocations: 0 / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.008874, allocations: 108.5 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.008883, allocations: 0 / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.0089, allocations: 9.25 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.686e-05/0.008927, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.008954, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.008963, allocations: 3.984 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.009016, allocations: 132.9 kB / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009016, allocations: 0 / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003187/0.009335, allocations: 39.86 kB / 0.7917 GB, free: 7.43 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.0004788/0.009814, allocations: 184.9 kB / 0.7919 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.009942, allocations: 31.61 kB / 0.7919 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009946, allocations: 4.5 kB / 0.792 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.009983, allocations: 19.67 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01015, allocations: 0.5312 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.01048, allocations: 130.3 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01053, allocations: 59.34 kB / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.01055, allocations: 0 / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.01058, allocations: 12.5 kB / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01058, allocations: 1.094 kB / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.004346/0.01492, allocations: 1.169 MB / 0.7933 GB, free: 5.809 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.301034824922681]