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.004518/0.004518, allocations: 95.23 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.001258/0.001258, allocations: 201.9 kB / 16.68 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.668/2.668, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002148/0.2947, allocations: 1.24 MB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.2956, allocations: 450.8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2957, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.2957, allocations: 3.938 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.2957, allocations: 4 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.2962, allocations: 115.6 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.2963, allocations: 15.98 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.2963, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.2964, allocations: 11.94 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.2964, allocations: 7.984 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2964, allocations: 4 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.2966, allocations: 107.8 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.2967, allocations: 7.938 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.2967, allocations: 11.94 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2969, allocations: 104 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2969, allocations: 0 / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2969, allocations: 0 / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2969, allocations: 0 / 1.168 GB, free: 5.246 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.0004888/0.2974, allocations: 388.9 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2975, allocations: 8.031 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.2975, allocations: 34.69 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.2976, allocations: 8.922 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2977, allocations: 168.3 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2977, allocations: 8.375 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.2977, allocations: 4.312 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2978, allocations: 38.25 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2979, allocations: 3.938 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2979, allocations: 4 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2979, allocations: 3.984 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.2979, allocations: 4 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.2983, allocations: 252.9 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.2984, allocations: 46.48 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.2984, allocations: 12.86 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.2984, allocations: 3.938 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.2986, allocations: 59.48 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.2986, allocations: 4 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002214/0.2988, allocations: 77.61 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.2989, allocations: 51.41 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.299, allocations: 110 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.299, allocations: 29.7 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.2991, allocations: 84.14 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.2991, allocations: 7.953 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2991, allocations: 21.72 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2993, allocations: 318.8 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.2993, allocations: 8.25 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.2993, allocations: 39.41 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.541e-05/0.2994, allocations: 51.38 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2994, allocations: 3.938 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001122/0.2995, allocations: 85.5 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2996, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2996, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2996, allocations: 4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.2996, allocations: 8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2997, allocations: 3.984 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.2997, allocations: 4 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2997, allocations: 4 kB / 1.17 GB, free: 3.051 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 9.46e-05/0.2998, allocations: 121.8 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2998, allocations: 3.953 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.2998, allocations: 7.969 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2999, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2999, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2999, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.3002, allocations: 306.4 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3002, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.3002, allocations: 4 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3002, allocations: 4 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3002, allocations: 3.984 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3002, allocations: 0 / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3002, allocations: 0 / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3004, allocations: 171.5 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.3005, allocations: 85.05 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3005, allocations: 3.984 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.3005, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.3006, allocations: 12.12 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3006, allocations: 4 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.3006, allocations: 83.27 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3006, allocations: 0 / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002861/0.3009, allocations: 35.88 kB / 1.171 GB, free: 2.109 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.0007884/0.3017, allocations: 0.7673 MB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.3018, allocations: 31.92 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3019, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.3019, allocations: 19.98 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3021, allocations: 3.938 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3034, allocations: 1.296 MB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3037, allocations: 0.6807 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.3037, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3038, allocations: 19.42 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.255e-06/0.3038, allocations: 0 / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3274, allocations: 2.109 MB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.584, allocations: 10.52 kB / 1.176 GB, free: 13.14 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