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.001972/0.001972, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 196 kB / 16.53 MB, free: 6.699 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.852/2.852, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 61.86 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2614, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002473/0.2639, allocations: 1.223 MB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.2649, allocations: 452.3 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.2649, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.2649, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.265, allocations: 7.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.2655, allocations: 111.6 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.2656, allocations: 23.86 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.2656, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.2656, allocations: 8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.2657, allocations: 11.92 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2657, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2659, allocations: 107.8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.2659, allocations: 4 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.266, allocations: 11.92 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2662, allocations: 99.81 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2662, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2662, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2662, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 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.000501/0.2667, allocations: 385.3 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2668, allocations: 8.031 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.2668, allocations: 34.75 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.2669, allocations: 0.9375 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.267, allocations: 184.2 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.267, allocations: 4.375 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.267, allocations: 4.375 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.2672, allocations: 38.25 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2672, allocations: 3.938 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.2672, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2672, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.2672, allocations: 7.984 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.2676, allocations: 249 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.2677, allocations: 38.44 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.2677, allocations: 12.86 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2677, allocations: 4 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.2679, allocations: 59.48 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.2679, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002166/0.2681, allocations: 77.52 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.2682, allocations: 55.41 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.2683, allocations: 97.86 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2683, allocations: 37.69 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.2684, allocations: 80.14 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.2684, allocations: 15.84 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2684, allocations: 17.72 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2686, allocations: 326.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.2686, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.2686, allocations: 35.42 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.2687, allocations: 47.86 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2687, allocations: 7.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.2689, allocations: 81.45 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2689, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2689, allocations: 4 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2689, allocations: 3.938 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.269, allocations: 12 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.269, allocations: 3.984 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.269, allocations: 8 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.269, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 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 9.163e-05/0.2691, allocations: 121.8 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.2692, allocations: 3.906 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.2692, allocations: 7.969 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2692, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2692, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2692, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.2695, allocations: 302.5 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2695, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.2695, allocations: 4 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2695, allocations: 4 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2696, allocations: 3.984 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2696, allocations: 4 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2696, allocations: 0 / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.2698, allocations: 163.4 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.2698, allocations: 84.95 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2698, allocations: 3.984 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.2699, allocations: 8 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.2699, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2699, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.27, allocations: 91.39 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.27, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000296/0.2703, allocations: 35.94 kB / 1.069 GB, free: 9.043 MB / 0.8262 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.0007735/0.2711, allocations: 0.7783 MB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2712, allocations: 31.98 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.2712, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.2713, allocations: 23.92 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2715, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2727, allocations: 1.274 MB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.273, allocations: 0.6807 MB / 1.071 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.273, allocations: 0 / 1.071 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.2731, allocations: 15.44 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2731, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.2959, allocations: 2.08 MB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.058, allocations: 5.938 kB / 1.074 GB, free: 4.094 MB / 0.8262 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 400 --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