Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7635 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 59.91 kB / 1.108 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9202/0.9224, allocations: 168.7 MB / 1.272 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002882/0.9253, allocations: 1.206 MB / 1.274 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.9263, allocations: 430.5 kB / 1.274 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.9263, allocations: 0 / 1.274 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.9263, allocations: 0 / 1.274 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.9264, allocations: 7.938 kB / 1.274 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.9271, allocations: 103.6 kB / 1.274 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.9271, allocations: 8 kB / 1.274 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.9272, allocations: 3.984 kB / 1.274 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.9272, allocations: 8 kB / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.9272, allocations: 11.92 kB / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.9272, allocations: 0 / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.9275, allocations: 103.8 kB / 1.274 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.9275, allocations: 4 kB / 1.274 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.9276, allocations: 7.938 kB / 1.274 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.9278, allocations: 93.56 kB / 1.274 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.9278, allocations: 4 kB / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9278, allocations: 0 / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9278, allocations: 0 / 1.274 GB, free: 2.414 MB / 0.9669 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.0005875/0.9284, allocations: 339.3 kB / 1.275 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.9285, allocations: 12.03 kB / 1.275 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.242e-05/0.9285, allocations: 38.73 kB / 1.275 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.9286, allocations: 4.891 kB / 1.275 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.9287, allocations: 168.4 kB / 1.275 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.9288, allocations: 8.375 kB / 1.275 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.9288, allocations: 8.312 kB / 1.275 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.9289, allocations: 38.23 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9289, allocations: 3.938 kB / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.9289, allocations: 0 / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.9289, allocations: 4 kB / 1.275 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.929, allocations: 8 kB / 1.275 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.9294, allocations: 241 kB / 1.275 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.9295, allocations: 42.44 kB / 1.275 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.9295, allocations: 12.86 kB / 1.275 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.9295, allocations: 4 kB / 1.275 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.9298, allocations: 55.48 kB / 1.275 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.9298, allocations: 4 kB / 1.275 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002582/0.93, allocations: 77.58 kB / 1.275 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.9301, allocations: 55.39 kB / 1.275 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.9302, allocations: 105.7 kB / 1.275 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.9302, allocations: 33.64 kB / 1.276 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.9303, allocations: 80.14 kB / 1.276 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.9303, allocations: 11.94 kB / 1.276 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.9303, allocations: 21.72 kB / 1.276 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9305, allocations: 314.8 kB / 1.276 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.9305, allocations: 11.98 kB / 1.276 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.9306, allocations: 31.44 kB / 1.276 GB, free: 484 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.71e-05/0.9307, allocations: 51.36 kB / 1.276 GB, free: 420 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.9307, allocations: 3.938 kB / 1.276 GB, free: 416 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001306/0.9308, allocations: 81.75 kB / 1.276 GB, free: 328 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9308, allocations: 4 kB / 1.276 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9308, allocations: 3.984 kB / 1.276 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9308, allocations: 4 kB / 1.276 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.9309, allocations: 7.938 kB / 1.276 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.9309, allocations: 4.156 kB / 1.276 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.931, allocations: 4 kB / 1.276 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.931, allocations: 7.984 kB / 1.276 GB, free: 292 kB / 0.9669 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.0001277/0.9311, allocations: 119.4 kB / 1.276 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.9311, allocations: 3.953 kB / 1.276 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.9311, allocations: 11.55 kB / 1.276 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.9311, allocations: 0 / 1.276 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.9311, allocations: 4 kB / 1.276 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9312, allocations: 0 / 1.276 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.9315, allocations: 302.8 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9315, allocations: 4 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.9315, allocations: 3.984 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9315, allocations: 0 / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.9315, allocations: 8 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9315, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9315, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.9317, allocations: 163.4 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.9318, allocations: 85.03 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.9318, allocations: 8 kB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.9318, allocations: 0 / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.9319, allocations: 0 / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9319, allocations: 11.94 kB / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.9319, allocations: 79.27 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9319, allocations: 0 / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003119/0.9322, allocations: 39.81 kB / 1.277 GB, free: 15.36 MB / 0.9825 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.0008603/0.9331, allocations: 0.7588 MB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.9332, allocations: 35.92 kB / 1.278 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9332, allocations: 0 / 1.278 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.9333, allocations: 19.92 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.9335, allocations: 4 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.9349, allocations: 1.265 MB / 1.279 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.9353, allocations: 0.6839 MB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.9353, allocations: 3.938 kB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.9353, allocations: 11.44 kB / 1.28 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of SimCode: time 7.22e-07/0.9353, allocations: 0 / 1.28 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.9654, allocations: 1.961 MB / 1.282 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.229, allocations: 3.938 kB / 1.282 GB, free: 10.57 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 15.444914435967803]