Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 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.001161/0.001161, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.3 MB / 0.6647 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001654, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6887, allocations: 140.4 MB / 0.9497 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002375/0.6911, allocations: 1.225 MB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.6921, allocations: 448.6 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.6921, allocations: 0 / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.6922, allocations: 3.938 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.6923, allocations: 0 / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.693, allocations: 110.5 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.6931, allocations: 18.45 kB / 0.9515 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.6932, allocations: 1.094 kB / 0.9515 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.6932, allocations: 13.53 kB / 0.9515 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.6933, allocations: 6.922 kB / 0.9515 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.6933, allocations: 9.062 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.6936, allocations: 112.3 kB / 0.9516 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.6936, allocations: 1.844 kB / 0.9516 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.6937, allocations: 14.73 kB / 0.9516 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.6939, allocations: 95.31 kB / 0.9517 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6939, allocations: 1.469 kB / 0.9517 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6939, allocations: 0 / 0.9517 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.6939, allocations: 3.938 kB / 0.9517 GB, free: 7.719 MB / 0.7169 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.0005192/0.6945, allocations: 384.5 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6945, allocations: 17.8 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.6946, allocations: 43.97 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.6946, allocations: 6.281 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.813e-05/0.6947, allocations: 167.2 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.6948, allocations: 1.906 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.6948, allocations: 1.781 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.6949, allocations: 45.14 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6949, allocations: 3.938 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.695, allocations: 1.406 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.695, allocations: 0 / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.695, allocations: 8.406 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.6953, allocations: 256.5 kB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.6955, allocations: 37.72 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.6955, allocations: 21.12 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.6955, allocations: 0 / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.6957, allocations: 57.69 kB / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.6957, allocations: 0 / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002568/0.696, allocations: 78.77 kB / 0.9528 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.696, allocations: 52.81 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.6961, allocations: 105.9 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.6961, allocations: 25.7 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.6962, allocations: 85.45 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.6962, allocations: 14.22 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.6963, allocations: 23.92 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.6963, allocations: 316 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.6964, allocations: 9.453 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.6964, allocations: 30.88 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.6965, allocations: 58.72 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6965, allocations: 3.938 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000117/0.6966, allocations: 75.94 kB / 0.9536 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6966, allocations: 4.781 kB / 0.9536 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6966, allocations: 1.188 kB / 0.9536 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6967, allocations: 1.062 kB / 0.9536 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.6967, allocations: 11.92 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6967, allocations: 1.188 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.6968, allocations: 14.81 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.6968, allocations: 2.219 kB / 0.9536 GB, free: 5.734 MB / 0.7169 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.412e-05/0.6969, allocations: 125 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.6969, allocations: 1.188 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.6969, allocations: 9.141 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6969, allocations: 1.094 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6969, allocations: 4 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.697, allocations: 1.031 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.6972, allocations: 310.1 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6972, allocations: 0 / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.6972, allocations: 4.125 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6972, allocations: 0 / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.6972, allocations: 5.125 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6973, allocations: 0 / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6973, allocations: 1.531 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6974, allocations: 170.7 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.6974, allocations: 82.42 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6974, allocations: 1.531 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.6975, allocations: 1.312 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.6975, allocations: 1.531 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.6976, allocations: 5.328 kB / 0.9543 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.6976, allocations: 83.69 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6976, allocations: 0 / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003158/0.6979, allocations: 36.23 kB / 0.9544 GB, free: 4.902 MB / 0.7169 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.000706/0.6986, allocations: 0.7822 MB / 0.9552 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.6988, allocations: 36.52 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6988, allocations: 0 / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.6988, allocations: 17.78 kB / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.699, allocations: 4.562 kB / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009205/0.7, allocations: 1.278 MB / 0.9565 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.7001, allocations: 0.6908 MB / 0.9571 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.7001, allocations: 3.312 kB / 0.9571 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.7002, allocations: 17.55 kB / 0.9572 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.7002, allocations: 0 / 0.9572 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.7185, allocations: 2.056 MB / 0.9592 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.373, allocations: 14.14 kB / 0.9592 GB, free: 1.016 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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