Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_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.007905/0.007905, allocations: 97 kB / 15.73 MB, free: 5.949 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.001938/0.001938, allocations: 193.2 kB / 16.67 MB, free: 5.871 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.637/2.637, allocations: 469.4 MB / 0.7421 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8428, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002242/0.8451, allocations: 1.208 MB / 1.221 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.846, allocations: 402.7 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.846, allocations: 4 kB / 1.221 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.8461, allocations: 3.938 kB / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.8461, allocations: 3.938 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.8467, allocations: 99.7 kB / 1.221 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.8468, allocations: 15.94 kB / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.8468, allocations: 3.984 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.8469, allocations: 7.938 kB / 1.221 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.8469, allocations: 15.97 kB / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.8469, allocations: 0 / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.8471, allocations: 91.84 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.8472, allocations: 8 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.8472, allocations: 7.938 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.8474, allocations: 82.48 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8474, allocations: 4 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8474, allocations: 0 / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.8474, allocations: 3.984 kB / 1.222 GB, free: 324 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.0004855/0.8479, allocations: 344.3 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.848, allocations: 12.62 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.848, allocations: 34.73 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.8481, allocations: 8.891 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.8482, allocations: 168.4 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.8482, allocations: 384 / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.8482, allocations: 4.375 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.8483, allocations: 38.19 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.8483, allocations: 3.938 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8483, allocations: 7.984 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8484, allocations: 4 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.8484, allocations: 4 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.8487, allocations: 248.9 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.8488, allocations: 42.44 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.8489, allocations: 16.86 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.8489, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.849, allocations: 63.48 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.849, allocations: 4 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0001974/0.8492, allocations: 73.69 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.8493, allocations: 55.34 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.8494, allocations: 105.8 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.8494, allocations: 25.7 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.8494, allocations: 84.14 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.8494, allocations: 7.953 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.8495, allocations: 25.7 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.8496, allocations: 318.8 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.8496, allocations: 11.92 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.8497, allocations: 31.44 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.8497, allocations: 59.53 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.8497, allocations: 3.938 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001055/0.8498, allocations: 73.58 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8499, allocations: 5.562 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8499, allocations: 4 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8499, allocations: 0 / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.85, allocations: 15.92 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.85, allocations: 0 / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.85, allocations: 4 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.85, allocations: 0 / 1.223 GB, free: 14.19 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 7.988e-05/0.8501, allocations: 121.8 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.8501, allocations: 7.953 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.8502, allocations: 7.547 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8502, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8502, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8502, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.8504, allocations: 306.5 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8504, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.8505, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8505, allocations: 7.984 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.8505, allocations: 3.938 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8505, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8505, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.8506, allocations: 163.8 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.8507, allocations: 89.03 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.8507, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.8508, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.8508, allocations: 8 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.8508, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.8508, allocations: 87.27 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8508, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002804/0.8511, allocations: 27.88 kB / 1.224 GB, free: 13.27 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.0007418/0.8519, allocations: 0.7777 MB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.852, allocations: 35.92 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.852, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.8521, allocations: 15.92 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.8523, allocations: 8 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.8537, allocations: 1.257 MB / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.854, allocations: 0.6768 MB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.8541, allocations: 7.891 kB / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.8541, allocations: 11.44 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of SimCode: time 4.9e-07/0.8541, allocations: 7.938 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.875, allocations: 1.966 MB / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.645, allocations: 7.922 kB / 1.229 GB, free: 8.504 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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