Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeibullVariableGeneration,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_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.008084/0.008084, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001942/0.001942, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.506/2.506, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.84 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8965, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00277/0.8994, allocations: 1.206 MB / 1.167 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.9003, allocations: 413.1 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.9004, allocations: 3.938 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.9004, allocations: 0 / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.9004, allocations: 0 / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.901, allocations: 103.6 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.9011, allocations: 8 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.9012, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.9012, allocations: 15.92 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.9012, allocations: 8 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.9013, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.9015, allocations: 99.83 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.9015, allocations: 3.984 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.9016, allocations: 11.94 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.9018, allocations: 82.5 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9018, allocations: 4 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9018, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.9018, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 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.0005045/0.9023, allocations: 352.2 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9024, allocations: 12.92 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.9025, allocations: 38.69 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.9025, allocations: 4.891 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.9026, allocations: 168.4 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.9026, allocations: 384 / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.9027, allocations: 4.375 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.9028, allocations: 38.25 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9028, allocations: 3.938 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.9028, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9028, allocations: 8 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.9029, allocations: 7.984 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.9032, allocations: 252.8 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.9033, allocations: 34.52 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.9033, allocations: 20.94 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.9034, allocations: 7.938 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.9035, allocations: 63.39 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 2.866e-06/0.9035, allocations: 0 / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002251/0.9038, allocations: 73.62 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.9038, allocations: 55.34 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.9039, allocations: 105.8 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.9039, allocations: 25.7 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.9039, allocations: 88.09 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.904, allocations: 11.95 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.904, allocations: 21.7 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9041, allocations: 314.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.9041, allocations: 8 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.9042, allocations: 35.42 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.9043, allocations: 55.36 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9043, allocations: 3.938 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001052/0.9044, allocations: 73.52 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.9044, allocations: 8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9044, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9044, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.9045, allocations: 11.98 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9045, allocations: 4.062 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.9045, allocations: 8 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.9046, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 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.211e-05/0.9046, allocations: 113.7 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.9047, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.9047, allocations: 7.562 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9047, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.9047, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9047, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.905, allocations: 310.8 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.905, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.905, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.905, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.905, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.905, allocations: 3.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.905, allocations: 7.938 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.9052, allocations: 167.4 kB / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.9052, allocations: 81.05 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.9052, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.9053, allocations: 3.984 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.9053, allocations: 4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.9053, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.9054, allocations: 83.22 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.9054, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003/0.9057, allocations: 35.86 kB / 1.171 GB, free: 14.75 MB / 0.9044 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.0007217/0.9064, allocations: 0.7741 MB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.9065, allocations: 31.92 kB / 1.171 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9065, allocations: 128 / 1.171 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.9066, allocations: 20 kB / 1.171 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.9068, allocations: 1.5 kB / 1.171 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.9079, allocations: 1.261 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.9081, allocations: 0.6807 MB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.201e-05/0.9082, allocations: 4 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.9082, allocations: 20.92 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.9082, allocations: 0 / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.9278, allocations: 1.969 MB / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.844, allocations: 9.516 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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