Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_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.004468/0.004468, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001015/0.001014, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.19 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2782, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002689/0.2809, allocations: 1.235 MB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.282, allocations: 448.3 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.282, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.2821, allocations: 3.938 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.2821, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.2831, allocations: 111.6 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.2832, allocations: 27.92 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.2833, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2833, allocations: 11.97 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.2833, allocations: 15.88 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2834, allocations: 0 / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.2837, allocations: 99.89 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.2837, allocations: 11.98 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.2837, allocations: 7.938 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.284, allocations: 95.86 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.284, allocations: 3.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.284, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.284, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 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.0004997/0.2845, allocations: 391.9 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2846, allocations: 12.03 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.2846, allocations: 30.75 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.2847, allocations: 0.9375 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2848, allocations: 172.8 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2849, allocations: 4.359 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2849, allocations: 8.375 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.285, allocations: 42.25 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.285, allocations: 3.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.285, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2851, allocations: 3.984 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.2851, allocations: 11.94 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.2854, allocations: 249.2 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.2855, allocations: 34.52 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.2856, allocations: 24.94 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.2856, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.2858, allocations: 59.33 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.2858, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002437/0.2861, allocations: 73.69 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.2861, allocations: 51.41 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.2862, allocations: 122 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2862, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.2863, allocations: 84.14 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2863, allocations: 11.89 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.2864, allocations: 21.72 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2865, allocations: 314.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.2865, allocations: 11.98 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.2866, allocations: 43.36 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.2867, allocations: 43.44 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2867, allocations: 7.875 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.2868, allocations: 73.52 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2868, allocations: 11.94 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2868, allocations: 4.062 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2869, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.2869, allocations: 8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2869, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.287, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.287, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 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.598e-05/0.2871, allocations: 117.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.2871, allocations: 11.89 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.2871, allocations: 7.969 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2871, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2872, allocations: 3.938 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2872, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.2874, allocations: 302.5 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2874, allocations: 4.094 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.2875, allocations: 3.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2875, allocations: 3.984 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.2875, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2875, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2875, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.2877, allocations: 167.5 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.2877, allocations: 81.39 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2877, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.2878, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.2878, allocations: 3.984 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2878, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.2879, allocations: 83.28 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2879, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003094/0.2882, allocations: 39.92 kB / 1.092 GB, free: 12.84 MB / 0.8575 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.0006913/0.2889, allocations: 0.7543 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.289, allocations: 43.92 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2891, allocations: 3.938 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.2891, allocations: 12 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.2893, allocations: 9.875 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2905, allocations: 1.293 MB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.2907, allocations: 0.6768 MB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.2907, allocations: 4 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.2907, allocations: 11.44 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2908, allocations: 0 / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.3082, allocations: 2.115 MB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.857, allocations: 6.391 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches