Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001287/0.001287, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001387/0.001387, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.303/2.303, allocations: 443.5 MB / 0.7304 GB, free: 14.12 MB / 0.5763 GB " [Timeout remaining time 177] 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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 71.88 kB / 1.059 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2579, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6634/0.9213, allocations: 177.6 MB / 1.389 GB, free: 2.938 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.937, allocations: 13.04 MB / 1.402 GB, free: 8.621 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.9379, allocations: 27.91 kB / 1.402 GB, free: 8.613 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.939, allocations: 487.8 kB / 1.402 GB, free: 8.199 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.9414, allocations: 1.051 MB / 1.403 GB, free: 7.387 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.9454, allocations: 1.912 MB / 1.405 GB, free: 5.953 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.9478, allocations: 2.533 MB / 1.408 GB, free: 4.434 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.9494, allocations: 1.279 MB / 1.409 GB, free: 3.484 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.9527, allocations: 1.472 MB / 1.41 GB, free: 2.625 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.9537, allocations: 0.9116 MB / 1.411 GB, free: 2.012 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.9538, allocations: 171.7 kB / 1.411 GB, free: 2.012 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.9561, allocations: 1.471 MB / 1.413 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.9565, allocations: 498 kB / 1.413 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.9572, allocations: 0.8776 MB / 1.414 GB, free: 296 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.9601, allocations: 2.816 MB / 1.417 GB, free: 14.36 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.9601, allocations: 3.984 kB / 1.417 GB, free: 14.36 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9601, allocations: 0 / 1.417 GB, free: 14.36 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.9601, allocations: 0 / 1.417 GB, free: 14.36 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003062/0.9632, allocations: 2.081 MB / 1.419 GB, free: 12.77 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.9632, allocations: 7.531 kB / 1.419 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.9634, allocations: 202.7 kB / 1.419 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.9658, allocations: 419.9 kB / 1.419 GB, free: 12.42 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.9671, allocations: 1.038 MB / 1.421 GB, free: 11.6 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.9672, allocations: 102.4 kB / 1.421 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.9674, allocations: 137.3 kB / 1.421 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.9696, allocations: 1.52 MB / 1.422 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.9696, allocations: 3.938 kB / 1.422 GB, free: 10.53 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.9697, allocations: 59 kB / 1.422 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.9698, allocations: 33.28 kB / 1.422 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.9721, allocations: 1.581 MB / 1.424 GB, free: 9.727 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006355/0.9785, allocations: 5.312 MB / 1.429 GB, free: 4.996 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.981, allocations: 1.446 MB / 1.43 GB, free: 3.477 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.9818, allocations: 446.8 kB / 1.431 GB, free: 3.039 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.9825, allocations: 429.3 kB / 1.431 GB, free: 2.547 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.9836, allocations: 0.6879 MB / 1.432 GB, free: 1.844 MB / 1.092 GB Notification: Performance of pre-optimization done (n=107): time 2.195e-06/0.9836, allocations: 3.938 kB / 1.432 GB, free: 1.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=107): time 0.004047/0.9877, allocations: 1.665 MB / 1.434 GB, free: 148 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.9878, allocations: 196.9 kB / 1.434 GB, free: 15.91 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.9889, allocations: 0.8922 MB / 1.435 GB, free: 15 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/0.989, allocations: 49.7 kB / 1.435 GB, free: 14.94 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.9894, allocations: 0.6181 MB / 1.435 GB, free: 14.32 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.9897, allocations: 372.8 kB / 1.436 GB, free: 13.95 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.99, allocations: 206.4 kB / 1.436 GB, free: 13.74 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9902, allocations: 345.9 kB / 1.436 GB, free: 13.4 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.9909, allocations: 377.7 kB / 1.437 GB, free: 13.03 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.9918, allocations: 0.5632 MB / 1.437 GB, free: 12.4 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.9935, allocations: 0.9293 MB / 1.438 GB, free: 11.43 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.9935, allocations: 4 kB / 1.438 GB, free: 11.43 MB / 1.108 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002506/0.996, allocations: 1.184 MB / 1.439 GB, free: 10.23 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.996, allocations: 7.984 kB / 1.439 GB, free: 10.23 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.996, allocations: 4 kB / 1.439 GB, free: 10.22 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.9966, allocations: 85.19 kB / 1.439 GB, free: 10.14 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9976, allocations: 248.5 kB / 1.439 GB, free: 9.895 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.9996, allocations: 1.651 MB / 1.441 GB, free: 8.098 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/1.001, allocations: 142 kB / 1.441 GB, free: 7.961 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/1.001, allocations: 39.98 kB / 1.441 GB, free: 7.922 MB / 1.108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005382/1.001, allocations: 337.5 kB / 1.442 GB, free: 7.582 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/1.001, allocations: 131.2 kB / 1.442 GB, free: 7.453 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/1.004, allocations: 1.442 MB / 1.443 GB, free: 6 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.004, allocations: 12 kB / 1.443 GB, free: 5.988 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.004, allocations: 0 / 1.443 GB, free: 5.988 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.004, allocations: 3.984 kB / 1.443 GB, free: 5.984 MB / 1.108 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/1.009, allocations: 2.887 MB / 1.446 GB, free: 3.012 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.009, allocations: 0 / 1.446 GB, free: 3.012 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/1.01, allocations: 223.7 kB / 1.446 GB, free: 2.793 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/1.01, allocations: 64.8 kB / 1.446 GB, free: 2.727 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/1.01, allocations: 43.84 kB / 1.446 GB, free: 2.684 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/1.012, allocations: 1.667 MB / 1.448 GB, free: 0.875 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.012, allocations: 0 / 1.448 GB, free: 0.875 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/1.015, allocations: 1.335 MB / 1.449 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/1.015, allocations: 367.8 kB / 1.45 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.015, allocations: 24 kB / 1.45 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/1.016, allocations: 87.84 kB / 1.45 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.016, allocations: 80.89 kB / 1.45 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/1.017, allocations: 51.95 kB / 1.45 GB, free: 14.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007967/1.017, allocations: 0.6189 MB / 1.45 GB, free: 14.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.45 GB, free: 14.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001148/1.019, allocations: 0.4909 MB / 1.451 GB, free: 13.78 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004638/1.023, allocations: 2.484 MB / 1.453 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.025, allocations: 1.074 MB / 1.454 GB, free: 10.37 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/1.025, allocations: 4 kB / 1.454 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.026, allocations: 0.6367 MB / 1.455 GB, free: 9.715 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/1.028, allocations: 0.5392 MB / 1.456 GB, free: 9.203 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.042, allocations: 8.93 MB / 1.464 GB, free: 60 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.043, allocations: 1.217 MB / 1.465 GB, free: 14.81 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001129/1.044, allocations: 381.9 kB / 1.466 GB, free: 14.44 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007593/1.045, allocations: 0.5695 MB / 1.466 GB, free: 13.87 MB / 1.139 GB Notification: Performance of SimCode: time 7.21e-07/1.045, allocations: 0 / 1.466 GB, free: 13.87 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06881/1.113, allocations: 34.26 MB / 1.5 GB, free: 11.98 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.83, allocations: 7.625 kB / 1.5 GB, free: 11.98 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:time,bou.ports[1].h_outflow,senMasFra.X,senRelHum.phi,senTem.T,senTem.port_a.Xi_outflow[1] [Calling sys.exit(0), Time elapsed: 19.147152013996674]