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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004333/0.004333, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001241/0.001241, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.397/1.397, 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 12.0.0-master/package.mo): time 2.791/2.791, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.47 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2734, allocations: 162.2 MB / 1.241 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002106/0.2755, allocations: 1.211 MB / 1.243 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.2763, allocations: 404.5 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.2763, allocations: 7.938 kB / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.2763, allocations: 0 / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.2764, allocations: 0 / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.2769, allocations: 99.66 kB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.615e-05/0.2769, allocations: 15.98 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.277, allocations: 0 / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.277, allocations: 11.98 kB / 1.243 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.277, allocations: 11.92 kB / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2771, allocations: 3.938 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.2773, allocations: 95.84 kB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.2773, allocations: 4 kB / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.2773, allocations: 11.92 kB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.2775, allocations: 84.03 kB / 1.243 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2775, allocations: 4 kB / 1.243 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.417e-06/0.2775, allocations: 0 / 1.243 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2775, allocations: 3.938 kB / 1.243 GB, free: 7.324 MB / 0.9669 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.0004649/0.278, allocations: 351.3 kB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.278, allocations: 8.031 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.2781, allocations: 30.75 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.2781, allocations: 16.89 kB / 1.244 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2783, allocations: 164.3 kB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2783, allocations: 4.375 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2783, allocations: 4.359 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.2784, allocations: 42.25 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2784, allocations: 3.938 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2784, allocations: 0 / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2784, allocations: 0 / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.2785, allocations: 11.92 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.2788, allocations: 249 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.2789, allocations: 34.5 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.2789, allocations: 20.94 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.279, allocations: 4 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.2791, allocations: 59.34 kB / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.2791, allocations: 0 / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001946/0.2793, allocations: 73.67 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2793, allocations: 51.41 kB / 1.244 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.2794, allocations: 97.86 kB / 1.244 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2795, allocations: 29.7 kB / 1.245 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.2795, allocations: 88.08 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2795, allocations: 11.89 kB / 1.245 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.2796, allocations: 25.72 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2797, allocations: 314.8 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.2797, allocations: 12 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.2798, allocations: 39.36 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.2799, allocations: 43.44 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2799, allocations: 3.938 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001187/0.28, allocations: 81.5 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.28, allocations: 4 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.28, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.28, allocations: 7.938 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.2801, allocations: 8 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2801, allocations: 0 / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.2801, allocations: 0 / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2801, allocations: 8 kB / 1.245 GB, free: 5.199 MB / 0.9669 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 8.492e-05/0.2802, allocations: 129.7 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.2803, allocations: 0 / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.2803, allocations: 7.562 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2803, allocations: 0 / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2803, allocations: 4.281 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2803, allocations: 0 / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.2806, allocations: 310.8 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2806, allocations: 0 / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.2806, allocations: 7.984 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.2806, allocations: 4 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2807, allocations: 3.938 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2807, allocations: 0 / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2807, allocations: 0 / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.2808, allocations: 163.5 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.2809, allocations: 77.11 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2809, allocations: 4 kB / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.856e-05/0.2809, allocations: 8 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.281, allocations: 0 / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.281, allocations: 7.984 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.281, allocations: 75.28 kB / 1.246 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.284e-06/0.281, allocations: 0 / 1.246 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002807/0.2813, allocations: 39.81 kB / 1.246 GB, free: 4.273 MB / 0.9669 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.0007067/0.282, allocations: 0.7713 MB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.2821, allocations: 35.92 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2821, allocations: 0 / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.2822, allocations: 19.98 kB / 1.247 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.2824, allocations: 0 / 1.247 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2835, allocations: 1.261 MB / 1.248 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2838, allocations: 0.6768 MB / 1.249 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.2838, allocations: 4.25 kB / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.2839, allocations: 11.44 kB / 1.249 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.2839, allocations: 4 kB / 1.249 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3053, allocations: 1.975 MB / 1.251 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.973, allocations: 9.125 kB / 1.251 GB, free: 15.52 MB / 0.9825 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 400 --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