Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 215.5 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.931/2.931, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 69.66 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2867, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1803/0.467, allocations: 156 MB / 1.477 GB, free: 5.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.4833, allocations: 12.04 MB / 1.489 GB, free: 9.652 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.4843, allocations: 43.62 kB / 1.489 GB, free: 9.609 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.4854, allocations: 484.3 kB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.4879, allocations: 1.061 MB / 1.491 GB, free: 8.07 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.492, allocations: 1.897 MB / 1.493 GB, free: 6.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002695/0.4947, allocations: 2.559 MB / 1.495 GB, free: 3.613 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.4964, allocations: 1.267 MB / 1.496 GB, free: 2.285 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.5001, allocations: 1.641 MB / 1.498 GB, free: 0.668 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.5012, allocations: 0.8243 MB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.5015, allocations: 176 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.5038, allocations: 1.279 MB / 1.5 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004355/0.5042, allocations: 0.4946 MB / 1.501 GB, free: 13.89 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007082/0.5049, allocations: 0.731 MB / 1.501 GB, free: 13.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.5083, allocations: 2.849 MB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5083, allocations: 0 / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5083, allocations: 0 / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.5083, allocations: 0 / 1.504 GB, free: 10.3 MB / 1.201 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.00327/0.5115, allocations: 2.029 MB / 1.506 GB, free: 8.223 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5116, allocations: 12.03 kB / 1.506 GB, free: 8.211 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/0.5118, allocations: 214.6 kB / 1.506 GB, free: 7.992 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.5148, allocations: 458.5 kB / 1.507 GB, free: 7.543 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.5165, allocations: 0.9633 MB / 1.508 GB, free: 6.547 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.5166, allocations: 102.7 kB / 1.508 GB, free: 6.445 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.5168, allocations: 132 kB / 1.508 GB, free: 6.316 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.5197, allocations: 2.026 MB / 1.51 GB, free: 4.09 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.5198, allocations: 0 / 1.51 GB, free: 4.09 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.5199, allocations: 63.98 kB / 1.51 GB, free: 4.027 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.5199, allocations: 39.94 kB / 1.51 GB, free: 3.988 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.5227, allocations: 1.532 MB / 1.512 GB, free: 2.449 MB / 1.201 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.006884/0.5296, allocations: 3.984 MB / 1.515 GB, free: 14.37 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.532, allocations: 1.152 MB / 1.517 GB, free: 13.21 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.5328, allocations: 443.6 kB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/0.5334, allocations: 108.9 kB / 1.517 GB, free: 12.67 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.5349, allocations: 1.048 MB / 1.518 GB, free: 11.51 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 2.795e-06/0.5349, allocations: 0 / 1.518 GB, free: 11.51 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.00431/0.5392, allocations: 1.601 MB / 1.52 GB, free: 9.906 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5393, allocations: 200.8 kB / 1.52 GB, free: 9.668 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.5406, allocations: 0.9283 MB / 1.521 GB, free: 8.719 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.181e-05/0.5407, allocations: 45.7 kB / 1.521 GB, free: 8.668 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005505/0.5412, allocations: 0.6142 MB / 1.521 GB, free: 8.047 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.5416, allocations: 368.9 kB / 1.522 GB, free: 7.684 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.5419, allocations: 198.6 kB / 1.522 GB, free: 7.48 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.542, allocations: 345.9 kB / 1.522 GB, free: 7.137 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/0.5428, allocations: 373.8 kB / 1.523 GB, free: 6.773 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5439, allocations: 0.735 MB / 1.523 GB, free: 5.93 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.5456, allocations: 0.9371 MB / 1.524 GB, free: 4.949 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5456, allocations: 0 / 1.524 GB, free: 4.949 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002646/0.5483, allocations: 1.196 MB / 1.525 GB, free: 3.746 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5483, allocations: 4 kB / 1.525 GB, free: 3.742 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5483, allocations: 4 kB / 1.525 GB, free: 3.738 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.5489, allocations: 97.09 kB / 1.526 GB, free: 3.641 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.55, allocations: 243.7 kB / 1.526 GB, free: 3.402 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.5521, allocations: 1.548 MB / 1.527 GB, free: 1.734 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.5531, allocations: 135.2 kB / 1.527 GB, free: 1.602 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/0.5531, allocations: 43.97 kB / 1.527 GB, free: 1.559 MB / 1.217 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.0005783/0.5537, allocations: 341.5 kB / 1.528 GB, free: 1.215 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.554, allocations: 127.2 kB / 1.528 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.5571, allocations: 1.441 MB / 1.529 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5572, allocations: 12 kB / 1.529 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.5572, allocations: 0 / 1.529 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5572, allocations: 11.97 kB / 1.529 GB, free: 15.62 MB / 1.232 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.004802/0.562, allocations: 2.572 MB / 1.532 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.562, allocations: 0 / 1.532 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.563, allocations: 215.7 kB / 1.532 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.5634, allocations: 80.72 kB / 1.532 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.5635, allocations: 31.97 kB / 1.532 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.5654, allocations: 1.551 MB / 1.534 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5654, allocations: 3.984 kB / 1.534 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.5682, allocations: 1.338 MB / 1.535 GB, free: 9.633 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006663/0.5688, allocations: 290.7 kB / 1.535 GB, free: 9.348 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.569, allocations: 31.88 kB / 1.535 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008885/0.5699, allocations: 83.97 kB / 1.535 GB, free: 9.234 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.57, allocations: 92.92 kB / 1.535 GB, free: 9.141 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.5701, allocations: 59.88 kB / 1.535 GB, free: 9.082 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008857/0.571, allocations: 0.6389 MB / 1.536 GB, free: 8.434 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.571, allocations: 0 / 1.536 GB, free: 8.434 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001196/0.5722, allocations: 498.8 kB / 1.537 GB, free: 7.945 MB / 1.232 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.005121/0.5774, allocations: 2.515 MB / 1.539 GB, free: 5.617 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.5797, allocations: 1.082 MB / 1.54 GB, free: 4.523 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5797, allocations: 0 / 1.54 GB, free: 4.523 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.5809, allocations: 0.6445 MB / 1.541 GB, free: 3.867 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.583, allocations: 0.5273 MB / 1.541 GB, free: 3.363 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.5979, allocations: 9.003 MB / 1.55 GB, free: 10.15 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.5986, allocations: 0.6211 MB / 1.551 GB, free: 9.496 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001304/0.5999, allocations: 394 kB / 1.551 GB, free: 9.109 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/0.6008, allocations: 0.5773 MB / 1.552 GB, free: 8.531 MB / 1.248 GB Notification: Performance of SimCode: time 8.41e-07/0.6008, allocations: 0 / 1.552 GB, free: 8.531 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08417/0.685, allocations: 37.08 MB / 1.588 GB, free: 3.984 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.9, allocations: 5.234 kB / 1.588 GB, free: 3.984 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.166383838281035]