Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006053/0.006053, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001651/0.001651, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.894/2.894, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002385/0.3593, allocations: 1.219 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.3603, allocations: 440.4 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.3603, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.3604, allocations: 7.938 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.3604, allocations: 3.938 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.361, allocations: 115.6 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.3611, allocations: 19.91 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.3611, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.3611, allocations: 8 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.929e-05/0.3612, allocations: 7.922 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3612, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.3615, allocations: 107.8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3615, allocations: 4 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.3615, allocations: 15.92 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3617, allocations: 91.75 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3617, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3617, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3618, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 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.0005531/0.3623, allocations: 400.7 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3624, allocations: 8.031 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.3624, allocations: 34.73 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3625, allocations: 12.88 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3626, allocations: 168.3 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3626, allocations: 4.375 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3626, allocations: 384 / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3628, allocations: 42.25 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3628, allocations: 7.922 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3628, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3628, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.3629, allocations: 4 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3632, allocations: 252.9 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3633, allocations: 38.5 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.3634, allocations: 16.86 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.3634, allocations: 96 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.3635, allocations: 67.39 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.3636, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002388/0.3638, allocations: 81.56 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3639, allocations: 51.41 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.364, allocations: 105.8 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.364, allocations: 25.7 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.364, allocations: 88.14 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.364, allocations: 7.891 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.3641, allocations: 25.7 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3643, allocations: 318.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.3643, allocations: 8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.3644, allocations: 35.36 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.3645, allocations: 55.36 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3645, allocations: 11.92 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001325/0.3646, allocations: 77.52 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3646, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3647, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3647, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.3647, allocations: 11.98 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3648, allocations: 3.938 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.3648, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3648, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.947e-05/0.3649, allocations: 121.8 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.3649, allocations: 7.891 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.3649, allocations: 3.969 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3649, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.365, allocations: 0 / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.365, allocations: 0 / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.3653, allocations: 302.6 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3653, allocations: 0.5625 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.3653, allocations: 7.984 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3653, allocations: 4 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3653, allocations: 0 / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3653, allocations: 4 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3653, allocations: 160 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3655, allocations: 167.4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.3656, allocations: 85.05 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3656, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.3656, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.3657, allocations: 8 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3657, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.3657, allocations: 87.27 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3658, allocations: 0 / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003028/0.3661, allocations: 39.81 kB / 1.225 GB, free: 9.137 MB / 0.9825 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008244/0.3669, allocations: 0.7878 MB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.367, allocations: 35.92 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.367, allocations: 3.938 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.3671, allocations: 16.31 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.3673, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3686, allocations: 1.304 MB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3689, allocations: 0.6799 MB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.3689, allocations: 4 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.369, allocations: 15.42 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.369, allocations: 4 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3923, allocations: 2.096 MB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.569, allocations: 9.609 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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:time,y