Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001885/0.001885, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.847/2.847, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.97 kB / 0.8984 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3744, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003583/0.3781, allocations: 1.282 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3794, allocations: 466.5 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.3794, allocations: 0 / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.3795, allocations: 0 / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.3796, allocations: 7.922 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.3802, allocations: 91.72 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.3803, allocations: 12 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/0.3803, allocations: 7.922 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.3804, allocations: 8 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.3804, allocations: 11.92 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3804, allocations: 8 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3808, allocations: 91.91 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.3808, allocations: 11.98 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.3808, allocations: 7.938 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3811, allocations: 103.7 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3811, allocations: 3.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3811, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3812, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 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.000673/0.3818, allocations: 389.3 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3819, allocations: 16.03 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.382, allocations: 0.9375 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3821, allocations: 164.4 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3822, allocations: 384 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3822, allocations: 4.359 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3823, allocations: 42.25 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3824, allocations: 192 / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3824, allocations: 7.875 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3824, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.3825, allocations: 7.938 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.3827, allocations: 165.7 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3828, allocations: 26.58 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.3828, allocations: 12.95 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.3829, allocations: 3.984 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.3831, allocations: 55.31 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.3831, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.00027/0.3834, allocations: 73.73 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3834, allocations: 59.41 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3835, allocations: 105.8 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3836, allocations: 29.7 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.3836, allocations: 80.14 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.3837, allocations: 11.84 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.3837, allocations: 25.7 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3839, allocations: 318.8 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.3839, allocations: 8 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.384, allocations: 39.42 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.3841, allocations: 47.36 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3841, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001715/0.3843, allocations: 77.45 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3843, allocations: 11.94 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3843, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3844, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.3844, allocations: 8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3845, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.3845, allocations: 8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3845, allocations: 96 / 1.056 GB, free: 4.695 MB / 0.8106 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.48e-05/0.3846, allocations: 119.4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.3847, allocations: 3.938 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.3847, allocations: 11.91 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3847, allocations: 3.938 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3847, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3847, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3849, allocations: 157.6 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3849, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.385, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.385, allocations: 7.938 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.385, allocations: 3.984 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.385, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.385, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3852, allocations: 85.06 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.3853, allocations: 81.09 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3853, allocations: 3.938 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.3853, allocations: 4 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3854, allocations: 4 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.908e-05/0.3855, allocations: 95.52 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3855, allocations: 3.938 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004309/0.3859, allocations: 32 kB / 1.056 GB, free: 3.988 MB / 0.8106 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.0004557/0.3864, allocations: 176.9 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3865, allocations: 23.98 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3866, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.3866, allocations: 15.94 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3868, allocations: 8.5 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3872, allocations: 114.5 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3876, allocations: 0.685 MB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3876, allocations: 3.984 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3876, allocations: 15.44 kB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of SimCode: time 7.91e-07/0.3876, allocations: 0 / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.004834/0.3925, allocations: 1.074 MB / 1.059 GB, free: 1.836 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y