Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.00661/0.00661, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001713/0.001713, allocations: 192.2 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 59.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.8604, allocations: 159.1 MB / 1.22 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002378/0.8629, allocations: 1.217 MB / 1.221 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.8637, allocations: 398.7 kB / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.8638, allocations: 3.938 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.8638, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.8638, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.8643, allocations: 103.6 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.8644, allocations: 19.98 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.8645, allocations: 0 / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.8645, allocations: 7.938 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.8645, allocations: 11.97 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.8645, allocations: 0 / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.8647, allocations: 95.84 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.8648, allocations: 7.984 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.8648, allocations: 7.938 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.865, allocations: 83.89 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.865, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.865, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.865, allocations: 4 kB / 1.222 GB, free: 248 kB / 0.9356 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.0005258/0.8655, allocations: 351.3 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.8656, allocations: 11.97 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.8657, allocations: 34.75 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.8657, allocations: 4.891 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.8658, allocations: 164.4 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.8658, allocations: 8.375 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.8659, allocations: 4.312 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.866, allocations: 42.25 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.866, allocations: 3.938 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.866, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.866, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.866, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.8664, allocations: 244.9 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.8665, allocations: 38.5 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.8665, allocations: 24.94 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.8665, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.8667, allocations: 55.41 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 4.709e-06/0.8667, allocations: 7.922 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002047/0.8669, allocations: 77.61 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.867, allocations: 55.41 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.867, allocations: 109.8 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8671, allocations: 25.7 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.8671, allocations: 84.14 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.8671, allocations: 11.89 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.8672, allocations: 17.72 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8673, allocations: 318.8 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.8673, allocations: 8 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.8674, allocations: 39.42 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.8675, allocations: 43.38 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8675, allocations: 7.938 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001113/0.8676, allocations: 77.5 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8676, allocations: 4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8676, allocations: 4.062 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8677, allocations: 4 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.8677, allocations: 12.25 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8677, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.8678, allocations: 7.984 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.8678, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 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.143e-05/0.8679, allocations: 121.7 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.8679, allocations: 3.953 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.8679, allocations: 3.562 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8679, allocations: 8 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8679, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.868, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.8682, allocations: 310.5 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8682, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.8683, allocations: 4 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8683, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.8683, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.8683, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8683, allocations: 3.938 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.8685, allocations: 167.5 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.8685, allocations: 85.05 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.8685, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.8686, allocations: 3.938 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.8686, allocations: 4.266 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.8686, allocations: 4 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.8687, allocations: 83.27 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8687, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002746/0.869, allocations: 35.86 kB / 1.225 GB, free: 13.18 MB / 0.9512 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.0007561/0.8697, allocations: 0.7695 MB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8699, allocations: 39.92 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8699, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.8699, allocations: 8 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.8701, allocations: 11.94 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.8712, allocations: 1.263 MB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.8715, allocations: 0.6768 MB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.8716, allocations: 7.906 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.8716, allocations: 11.44 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8716, allocations: 0 / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.8942, allocations: 1.973 MB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/9.131, allocations: 8.062 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_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_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y