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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_10_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.004378/0.004378, 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.00109/0.001091, allocations: 194.3 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.669/2.669, allocations: 437.1 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 67.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3513, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002938/0.3543, allocations: 1.223 MB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3554, allocations: 462.7 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.3554, allocations: 0 / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.3555, allocations: 0 / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.3555, allocations: 3.938 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.3562, allocations: 111.6 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.65e-05/0.3563, allocations: 19.92 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.3564, allocations: 7.984 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.3564, allocations: 7.938 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.3565, allocations: 7.984 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3565, allocations: 4 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.3568, allocations: 103.8 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.3568, allocations: 7.922 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.3568, allocations: 15.92 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3571, allocations: 99.97 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3571, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3571, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.3571, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 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.0005791/0.3577, allocations: 388.9 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3578, allocations: 8.031 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.3579, allocations: 30.75 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3579, allocations: 4.938 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.358, allocations: 176.3 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3581, allocations: 8.375 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3581, allocations: 4.312 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3582, allocations: 42.25 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3582, allocations: 3.938 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3583, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3583, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.3583, allocations: 11.98 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.3587, allocations: 244.9 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3588, allocations: 50.44 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.3588, allocations: 16.8 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.3588, allocations: 0 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.359, allocations: 63.48 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 2.976e-06/0.359, allocations: 3.984 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002301/0.3593, allocations: 73.62 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3593, allocations: 55.39 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.3594, allocations: 105.8 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3594, allocations: 33.7 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.3595, allocations: 88.06 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.3595, allocations: 7.953 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3596, allocations: 21.72 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3597, allocations: 318.8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.3597, allocations: 12 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.3597, allocations: 39.41 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.3598, allocations: 43.38 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3598, allocations: 3.938 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001175/0.3599, allocations: 81.56 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.36, allocations: 6.031 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.36, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.36, allocations: 4 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.3601, allocations: 11.94 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3601, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.3601, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3601, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 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 7.694e-05/0.3602, allocations: 117.8 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.3602, allocations: 12.02 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.3603, allocations: 7.969 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3603, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3603, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3603, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3606, allocations: 310.9 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3606, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.3606, allocations: 8.062 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3606, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3606, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3606, allocations: 4 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3606, allocations: 11.92 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3608, allocations: 163.4 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.3608, allocations: 81.06 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3609, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.3609, allocations: 7.984 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.361, allocations: 4 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.361, allocations: 4 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.361, allocations: 79.28 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.361, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003032/0.3613, allocations: 43.86 kB / 1.171 GB, free: 2.129 MB / 0.92 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.0007176/0.3621, allocations: 0.7645 MB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3622, allocations: 35.92 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3622, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.3623, allocations: 23.92 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.3625, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3636, allocations: 1.292 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.3638, allocations: 0.6807 MB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.3638, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.3639, allocations: 15.44 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3639, allocations: 3.938 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.3833, allocations: 2.108 MB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.292, allocations: 9.766 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/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) "" Variables in the reference:time,y Variables in the result:time,y