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.008422/0.008422, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.002115/0.002115, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.313/2.313, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 62.12 kB / 0.9504 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2515, allocations: 140.4 MB / 1.087 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002215/0.2538, allocations: 1.23 MB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000857/0.2547, allocations: 440.3 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.2547, allocations: 4 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.2548, allocations: 3.938 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.406e-05/0.2548, allocations: 0 / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.2555, allocations: 119.6 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2556, allocations: 19.92 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.2557, allocations: 4 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.2557, allocations: 7.984 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.2558, allocations: 15.92 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2558, allocations: 3.938 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.2561, allocations: 103.9 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.2561, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2562, allocations: 11.94 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2564, allocations: 104 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2564, allocations: 4 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2564, allocations: 3.938 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2564, allocations: 0 / 1.089 GB, free: 80 kB / 0.8419 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.0004699/0.2569, allocations: 388.8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.257, allocations: 11.97 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.257, allocations: 46.73 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.2571, allocations: 4.891 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.2572, allocations: 164.4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2572, allocations: 384 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2572, allocations: 4.375 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2573, allocations: 42.23 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2573, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2574, allocations: 3.984 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2574, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.2574, allocations: 7.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.2577, allocations: 252.9 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.2578, allocations: 34.5 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.2579, allocations: 16.86 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.2579, allocations: 4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2581, allocations: 63.42 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.2581, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002064/0.2583, allocations: 77.62 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2583, allocations: 55.41 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.2584, allocations: 101.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2584, allocations: 29.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2585, allocations: 88.12 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2585, allocations: 11.91 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2585, allocations: 29.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.2586, allocations: 310.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.2587, allocations: 12 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.2587, allocations: 39.36 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.2588, allocations: 43.44 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2588, allocations: 7.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001004/0.2589, allocations: 77.48 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2589, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2589, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2589, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.259, allocations: 12.48 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.259, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.259, allocations: 7.953 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.259, allocations: 4.062 kB / 1.091 GB, free: 13.88 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 7.198e-05/0.2591, allocations: 121.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.2591, allocations: 16.02 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.2592, allocations: 7.969 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2592, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2592, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2592, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.2594, allocations: 302.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2595, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.2595, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2595, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2595, allocations: 3.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2595, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2595, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2597, allocations: 163.4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.2597, allocations: 81.09 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2597, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.2598, allocations: 8 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.2598, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2598, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.2598, allocations: 91.27 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2599, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002911/0.2602, allocations: 35.88 kB / 1.092 GB, free: 12.95 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.0006969/0.2609, allocations: 0.7819 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.261, allocations: 35.92 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.261, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.261, allocations: 16 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2613, allocations: 128 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2624, allocations: 1.3 MB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2626, allocations: 0.6807 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.2627, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.2627, allocations: 19.42 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.2627, allocations: 0 / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2805, allocations: 2.102 MB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.835, allocations: 10.09 kB / 1.097 GB, free: 7.969 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