Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001474/0.001474, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.608/2.608, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002931, allocations: 68.53 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3148, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002517/0.3173, allocations: 1.227 MB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.3183, allocations: 444.1 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3183, allocations: 4 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.3184, allocations: 3.938 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.094e-05/0.3184, allocations: 0 / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.319, allocations: 107.6 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.319, allocations: 23.92 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.3191, allocations: 3.984 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.3191, allocations: 15.98 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.3192, allocations: 15.86 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3192, allocations: 4 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3194, allocations: 103.9 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3195, allocations: 0 / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.3195, allocations: 19.86 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3197, allocations: 95.81 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3197, allocations: 3.938 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3197, allocations: 0 / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3197, allocations: 0 / 1.02 GB, free: 8.559 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.0005584/0.3203, allocations: 397.2 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3203, allocations: 8.625 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3204, allocations: 0.9375 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3205, allocations: 168.4 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3205, allocations: 4.375 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3206, allocations: 4.375 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3207, allocations: 34.25 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3207, allocations: 192 / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3207, allocations: 3.938 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3207, allocations: 0 / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.3208, allocations: 11.98 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.321, allocations: 161.7 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.3211, allocations: 34.56 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.3211, allocations: 8.859 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.3211, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3213, allocations: 63.39 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3213, allocations: 0 / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002287/0.3215, allocations: 73.56 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3216, allocations: 51.41 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.3217, allocations: 105.8 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3217, allocations: 25.7 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.3218, allocations: 84.14 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3218, allocations: 15.83 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3218, allocations: 25.7 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.322, allocations: 318.8 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.322, allocations: 8 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.3221, allocations: 27.44 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.3221, allocations: 55.36 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3221, allocations: 0 / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.3223, allocations: 73.47 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3223, allocations: 7.938 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3223, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3223, allocations: 4 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.3224, allocations: 8.469 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3224, allocations: 3.938 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.3224, allocations: 8.094 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3224, allocations: 8 kB / 1.022 GB, free: 6.535 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 8.335e-05/0.3225, allocations: 113.8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.3226, allocations: 11.92 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.3226, allocations: 3.906 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3226, allocations: 0 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3226, allocations: 0 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3226, allocations: 3.938 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3227, allocations: 165.6 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3228, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.3228, allocations: 4 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3228, allocations: 3.938 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3228, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3228, allocations: 4 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3228, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.323, allocations: 81.11 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.323, allocations: 85.11 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.323, allocations: 3.938 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.3231, allocations: 4 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.3231, allocations: 3.984 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3231, allocations: 4 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.3232, allocations: 79.28 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3232, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002671/0.3234, allocations: 35.98 kB / 1.022 GB, free: 5.84 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.0003581/0.3238, allocations: 167.8 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.3239, allocations: 31.92 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.324, allocations: 3.938 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.324, allocations: 8.141 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3242, allocations: 10.39 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.3244, allocations: 142.9 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3248, allocations: 0.6846 MB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.3248, allocations: 7.438 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.3248, allocations: 0 / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of Templates: time 0.00316/0.328, allocations: 1.253 MB / 1.025 GB, free: 3.484 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches