Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.00806/0.00806, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001881/0.001882, allocations: 196.1 kB / 16.68 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.426/2.426, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 60.12 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8651, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002559/0.8677, allocations: 1.237 MB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8688, allocations: 448.9 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.8689, allocations: 7.938 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.8689, allocations: 3.938 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.869, allocations: 4 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.8697, allocations: 115.6 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.8698, allocations: 19.98 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.8699, allocations: 0 / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.8699, allocations: 7.938 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.8699, allocations: 15.92 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.87, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.8703, allocations: 103.8 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.8703, allocations: 7.984 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.8703, allocations: 11.94 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8706, allocations: 103.4 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8706, allocations: 0 / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8706, allocations: 0 / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8706, allocations: 0 / 1.168 GB, free: 1.707 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.0006044/0.8712, allocations: 388.9 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.8713, allocations: 8.922 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.484e-05/0.8714, allocations: 34.69 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.8714, allocations: 8.922 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.8716, allocations: 172.3 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.8716, allocations: 4.375 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.8716, allocations: 384 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.8717, allocations: 42.19 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8718, allocations: 3.938 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.8718, allocations: 7.984 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8718, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.8718, allocations: 4 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.8722, allocations: 248.9 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.8723, allocations: 42.5 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.8724, allocations: 12.86 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.8724, allocations: 3.984 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.8725, allocations: 67.48 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 3.867e-06/0.8726, allocations: 4 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002224/0.8728, allocations: 73.61 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.8728, allocations: 51.41 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.8729, allocations: 109.8 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.873, allocations: 29.7 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.873, allocations: 84.14 kB / 1.169 GB, free: 116 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.873, allocations: 11.89 kB / 1.169 GB, free: 104 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.8731, allocations: 21.72 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8732, allocations: 322.8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.8732, allocations: 7.938 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.8733, allocations: 35.42 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.8734, allocations: 47.38 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8734, allocations: 3.938 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.8735, allocations: 81.5 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8735, allocations: 8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8735, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8736, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.8736, allocations: 7.984 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8736, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.8737, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.8737, allocations: 4 kB / 1.17 GB, free: 15.52 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 9.638e-05/0.8738, allocations: 121.8 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.8738, allocations: 3.953 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.8738, allocations: 7.969 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8739, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8739, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8739, allocations: 3.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.8742, allocations: 302.5 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8742, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.8742, allocations: 4.562 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8742, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8742, allocations: 3.984 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8742, allocations: 4 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8742, allocations: 3.938 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.8744, allocations: 159.5 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.8745, allocations: 89.05 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.8745, allocations: 0 / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.8745, allocations: 0 / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.8746, allocations: 12 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.8746, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.8746, allocations: 83.27 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8746, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000316/0.875, allocations: 39.81 kB / 1.171 GB, free: 14.58 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.0008484/0.8758, allocations: 0.7804 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.876, allocations: 31.92 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.876, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.876, allocations: 12.31 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8762, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.8774, allocations: 1.297 MB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.8777, allocations: 0.6768 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.8777, allocations: 4 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.8778, allocations: 19.42 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.8778, allocations: 3.938 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.8985, allocations: 2.105 MB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.948, allocations: 10.34 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_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_Weibull1DOFF.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches