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.00799/0.00799, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002171/0.002171, allocations: 189.5 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.445/1.445, 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.628/2.628, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7391/0.741, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002302/0.7434, allocations: 1.237 MB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.7443, allocations: 449 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.7443, allocations: 0 / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.7444, allocations: 3.938 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.029e-05/0.7444, allocations: 4 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.7449, allocations: 115.6 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.745, allocations: 19.92 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.745, allocations: 3.984 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.7451, allocations: 8 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.7451, allocations: 11.92 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.7451, allocations: 4 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.7453, allocations: 107.8 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.7454, allocations: 3.984 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.7454, allocations: 15.94 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.7456, allocations: 103.3 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7456, allocations: 0 / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7456, allocations: 0 / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7456, allocations: 0 / 1.168 GB, free: 1.711 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.0005211/0.7462, allocations: 396.7 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.7462, allocations: 8.922 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.7463, allocations: 30.75 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.7463, allocations: 4.938 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.7464, allocations: 176.3 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.7465, allocations: 4.375 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.7465, allocations: 384 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.7466, allocations: 42.25 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7466, allocations: 3.938 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.7466, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7466, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.7467, allocations: 11.92 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.747, allocations: 249 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.7471, allocations: 42.5 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.7472, allocations: 16.84 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.7472, allocations: 0 / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.7473, allocations: 67.42 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.7474, allocations: 4 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.00022/0.7476, allocations: 65.69 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.7477, allocations: 51.41 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.7477, allocations: 109.8 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.7478, allocations: 29.7 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.7478, allocations: 88.12 kB / 1.169 GB, free: 120 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.7478, allocations: 11.89 kB / 1.169 GB, free: 108 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.7479, allocations: 21.72 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7481, allocations: 322.8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.7481, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.7481, allocations: 43.34 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.7482, allocations: 43.44 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7482, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.7483, allocations: 85.5 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7484, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7484, allocations: 3.938 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7484, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.7485, allocations: 4 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.7485, allocations: 4 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.7485, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.7485, allocations: 4.156 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.394e-05/0.7486, allocations: 129.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.7486, allocations: 7.953 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.7487, allocations: 3.969 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7487, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7487, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.7487, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.749, allocations: 299.1 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.749, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.749, allocations: 4.062 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.749, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.749, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.749, allocations: 3.938 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7491, allocations: 3.984 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.7492, allocations: 167.5 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.7493, allocations: 81.06 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.7493, allocations: 0 / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.7494, allocations: 4 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.7494, allocations: 11.98 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.7494, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.7495, allocations: 79.28 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7495, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003099/0.7498, allocations: 43.8 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.0007783/0.7506, allocations: 0.7805 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.7507, allocations: 31.92 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7507, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.7508, allocations: 23.98 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.751, allocations: 2.656 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.7522, allocations: 1.296 MB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.7526, allocations: 0.6807 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.7526, allocations: 3.938 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.7526, allocations: 15.44 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7526, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.7764, allocations: 2.097 MB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.692, allocations: 6.359 kB / 1.176 GB, free: 9.613 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