Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.47 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3473, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003134/0.3505, allocations: 1.23 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.3515, allocations: 448.2 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.3516, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.3516, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.3517, allocations: 7.938 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.3524, allocations: 111.6 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.3525, allocations: 19.88 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.3525, allocations: 7.984 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.3526, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.3526, allocations: 15.92 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.3526, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.3529, allocations: 103.8 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.353, allocations: 8 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.353, allocations: 11.92 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.3533, allocations: 99.81 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3533, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3533, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3533, allocations: 3.938 kB / 1.066 GB, free: 12.48 MB / 0.8262 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.0005561/0.3539, allocations: 385.4 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3539, allocations: 12.03 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.354, allocations: 30.75 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.354, allocations: 0.9375 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3542, allocations: 176.3 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3542, allocations: 8.312 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3542, allocations: 12.31 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3544, allocations: 34.25 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3544, allocations: 7.938 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3544, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3544, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.3544, allocations: 11.98 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3548, allocations: 245 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.355, allocations: 42.44 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.355, allocations: 20.84 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.355, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.3552, allocations: 55.48 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 4.348e-06/0.3552, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002405/0.3555, allocations: 77.72 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3556, allocations: 59.39 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3557, allocations: 105.9 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3557, allocations: 25.7 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.3558, allocations: 88.12 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3558, allocations: 11.84 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.3559, allocations: 21.72 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.356, allocations: 322.8 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.3561, allocations: 8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.3561, allocations: 39.36 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.488e-05/0.3562, allocations: 47.38 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3562, allocations: 3.938 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001309/0.3564, allocations: 77.52 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3564, allocations: 4 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3564, allocations: 4 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3564, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.3565, allocations: 11.94 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3565, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.3565, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3566, allocations: 3.984 kB / 1.068 GB, free: 10.29 MB / 0.8262 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 0.0001346/0.3567, allocations: 121.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.3567, allocations: 7.906 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.3568, allocations: 7.969 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3568, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3568, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3568, allocations: 3.938 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.3571, allocations: 302.5 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3572, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.3572, allocations: 4 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3572, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3572, allocations: 8 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3572, allocations: 3.984 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3572, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3574, allocations: 163.7 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.3575, allocations: 85.02 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3575, allocations: 11.98 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.3576, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3576, allocations: 4.078 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3577, allocations: 8 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.3577, allocations: 87.27 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3577, allocations: 0 / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003418/0.3581, allocations: 35.94 kB / 1.068 GB, free: 9.352 MB / 0.8262 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.0008977/0.359, allocations: 0.7623 MB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.3592, allocations: 39.92 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3592, allocations: 4 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.3592, allocations: 23.86 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3595, allocations: 0 / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.361, allocations: 1.28 MB / 1.07 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3613, allocations: 0.6807 MB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.3613, allocations: 0 / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.3614, allocations: 19.44 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3614, allocations: 0 / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.3806, allocations: 2.071 MB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.497, allocations: 12.03 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y