Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 108.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001234, allocations: 191.9 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.1 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 66.98 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002342/0.2952, allocations: 1.286 MB / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000841/0.296, allocations: 444.1 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.2961, allocations: 3.938 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.2961, allocations: 0 / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.2961, allocations: 0 / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.2966, allocations: 99.72 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.2967, allocations: 23.92 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.2968, allocations: 4 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.2968, allocations: 7.984 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.2968, allocations: 15.92 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2968, allocations: 0 / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.2971, allocations: 103.8 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.2971, allocations: 7.984 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.2971, allocations: 7.938 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2973, allocations: 75.83 kB / 1.019 GB, free: 8.945 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2973, allocations: 0 / 1.019 GB, free: 8.945 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2973, allocations: 0 / 1.019 GB, free: 8.945 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2973, allocations: 4 kB / 1.019 GB, free: 8.941 MB / 0.795 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.0005133/0.2978, allocations: 387.4 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2979, allocations: 12.92 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.2979, allocations: 0.9375 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.298, allocations: 168.4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2981, allocations: 8.375 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2981, allocations: 4.375 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2982, allocations: 38.19 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2982, allocations: 4.188 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2982, allocations: 3.938 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2982, allocations: 0 / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.318e-05/0.2983, allocations: 7.984 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.2984, allocations: 161.7 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.2985, allocations: 34.61 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.2986, allocations: 12.86 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2986, allocations: 7.938 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.2987, allocations: 59.39 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.2988, allocations: 0 / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002064/0.299, allocations: 65.62 kB / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.299, allocations: 55.41 kB / 1.02 GB, free: 7.742 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.2991, allocations: 105.8 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2991, allocations: 29.64 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.2992, allocations: 96.06 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.2992, allocations: 11.84 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.2993, allocations: 17.72 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2994, allocations: 322.8 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.2994, allocations: 4 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.2995, allocations: 35.38 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.2996, allocations: 51.36 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2996, allocations: 4 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001024/0.2997, allocations: 65.53 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2997, allocations: 11.94 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2997, allocations: 0 / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2997, allocations: 4.094 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.2998, allocations: 11.98 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2998, allocations: 3.938 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.2998, allocations: 4 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2998, allocations: 0 / 1.021 GB, free: 6.914 MB / 0.795 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 9.413e-05/0.2999, allocations: 113.8 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3, allocations: 7.938 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.3, allocations: 3.906 kB / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3, allocations: 0 / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3, allocations: 4 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3, allocations: 0 / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3002, allocations: 161.6 kB / 1.021 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3002, allocations: 0 / 1.021 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.3002, allocations: 4 kB / 1.021 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3002, allocations: 4.188 kB / 1.021 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3002, allocations: 0 / 1.021 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3002, allocations: 4 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3002, allocations: 4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.3004, allocations: 89.28 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.3004, allocations: 81.16 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3004, allocations: 11.92 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.3005, allocations: 0 / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.3005, allocations: 3.984 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3005, allocations: 4 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.3005, allocations: 79.28 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3006, allocations: 3.938 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002435/0.3008, allocations: 39.98 kB / 1.022 GB, free: 6.207 MB / 0.795 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.0003518/0.3012, allocations: 165.6 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3013, allocations: 31.92 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3013, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.3013, allocations: 8 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.3015, allocations: 8.172 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.3017, allocations: 154.6 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.302, allocations: 0.6806 MB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.3021, allocations: 11.44 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3021, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of Templates: time 0.003025/0.3051, allocations: 1.254 MB / 1.024 GB, free: 3.848 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches