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.001461/0.001461, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001584/0.001584, allocations: 217 kB / 22.25 MB, free: 5.082 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.307/1.307, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.797/2.797, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.001861/0.001861, allocations: 66.39 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2018/0.4743, allocations: 180.6 MB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.4923, allocations: 13.14 MB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.4934, allocations: 43.69 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.4949, allocations: 492.3 kB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.4981, allocations: 1.068 MB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.5026, allocations: 1.948 MB / 1.519 GB, free: 11.92 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.5058, allocations: 2.574 MB / 1.521 GB, free: 9.336 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.5078, allocations: 1.295 MB / 1.522 GB, free: 7.98 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.512, allocations: 1.655 MB / 1.524 GB, free: 6.352 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.5135, allocations: 0.9078 MB / 1.525 GB, free: 5.441 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.5138, allocations: 180 kB / 1.525 GB, free: 5.266 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.5166, allocations: 1.521 MB / 1.526 GB, free: 3.742 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004599/0.517, allocations: 0.4945 MB / 1.527 GB, free: 3.246 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008759/0.5179, allocations: 0.8825 MB / 1.528 GB, free: 2.359 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.5214, allocations: 2.865 MB / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5214, allocations: 0 / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5214, allocations: 0 / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.5214, allocations: 3.938 kB / 1.531 GB, free: 15.48 MB / 1.232 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.003297/0.5247, allocations: 2.035 MB / 1.533 GB, free: 13.4 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5248, allocations: 8.031 kB / 1.533 GB, free: 13.39 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.525, allocations: 210.7 kB / 1.533 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.5279, allocations: 458.5 kB / 1.533 GB, free: 12.73 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.5295, allocations: 0.9633 MB / 1.534 GB, free: 11.73 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.5296, allocations: 102.7 kB / 1.534 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.5298, allocations: 132 kB / 1.534 GB, free: 11.5 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.5323, allocations: 1.52 MB / 1.536 GB, free: 9.902 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.5323, allocations: 0 / 1.536 GB, free: 9.902 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.5324, allocations: 63.98 kB / 1.536 GB, free: 9.84 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.5324, allocations: 35.94 kB / 1.536 GB, free: 9.805 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.535, allocations: 1.587 MB / 1.538 GB, free: 8.211 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 preOpt removeSimpleEquations (simulation): time 0.007186/0.5422, allocations: 5.346 MB / 1.543 GB, free: 2.523 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.5446, allocations: 1.143 MB / 1.544 GB, free: 1.375 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.5454, allocations: 443.6 kB / 1.544 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.546, allocations: 128.8 kB / 1.544 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.5471, allocations: 0.6841 MB / 1.545 GB, free: 112 kB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 2.244e-06/0.5471, allocations: 0 / 1.545 GB, free: 112 kB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.004165/0.5513, allocations: 1.605 MB / 1.547 GB, free: 14.5 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.5514, allocations: 188.9 kB / 1.547 GB, free: 14.27 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5527, allocations: 0.9323 MB / 1.548 GB, free: 13.32 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/0.5527, allocations: 45.7 kB / 1.548 GB, free: 13.27 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/0.5533, allocations: 0.6103 MB / 1.548 GB, free: 12.65 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.5536, allocations: 372.8 kB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.5539, allocations: 202.5 kB / 1.549 GB, free: 12.07 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5541, allocations: 341.9 kB / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.5548, allocations: 377.8 kB / 1.55 GB, free: 11.37 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.5558, allocations: 0.5632 MB / 1.55 GB, free: 10.74 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.5575, allocations: 0.9371 MB / 1.551 GB, free: 9.762 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5575, allocations: 0 / 1.551 GB, free: 9.762 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002653/0.5601, allocations: 1.192 MB / 1.552 GB, free: 8.559 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5601, allocations: 4 kB / 1.552 GB, free: 8.555 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5602, allocations: 8.391 kB / 1.552 GB, free: 8.547 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.5607, allocations: 84.78 kB / 1.552 GB, free: 8.461 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5618, allocations: 247.7 kB / 1.553 GB, free: 8.219 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.5639, allocations: 1.539 MB / 1.554 GB, free: 6.559 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.5648, allocations: 145.2 kB / 1.554 GB, free: 6.418 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.5649, allocations: 35.98 kB / 1.554 GB, free: 6.383 MB / 1.248 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.0005818/0.5655, allocations: 345.8 kB / 1.555 GB, free: 6.035 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.5657, allocations: 135.2 kB / 1.555 GB, free: 5.902 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.5688, allocations: 1.437 MB / 1.556 GB, free: 4.457 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5688, allocations: 12 kB / 1.556 GB, free: 4.445 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5688, allocations: 3.938 kB / 1.556 GB, free: 4.441 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5688, allocations: 3.984 kB / 1.556 GB, free: 4.438 MB / 1.248 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.004737/0.5735, allocations: 2.871 MB / 1.559 GB, free: 1.488 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5735, allocations: 4 kB / 1.559 GB, free: 1.484 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.5745, allocations: 215.8 kB / 1.559 GB, free: 1.273 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.5749, allocations: 84.66 kB / 1.559 GB, free: 1.188 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/0.575, allocations: 31.97 kB / 1.559 GB, free: 1.156 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.5769, allocations: 1.57 MB / 1.561 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5769, allocations: 0 / 1.561 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5795, allocations: 1.331 MB / 1.562 GB, free: 14.12 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.5801, allocations: 286.7 kB / 1.562 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.5803, allocations: 31.92 kB / 1.562 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.5812, allocations: 83.62 kB / 1.563 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.5813, allocations: 88.83 kB / 1.563 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5814, allocations: 47.97 kB / 1.563 GB, free: 13.59 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008579/0.5823, allocations: 0.6389 MB / 1.563 GB, free: 12.94 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.5823, allocations: 0 / 1.563 GB, free: 12.94 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001144/0.5834, allocations: 0.4909 MB / 1.564 GB, free: 12.45 MB / 1.264 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.004878/0.5883, allocations: 2.49 MB / 1.566 GB, free: 10.11 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.5905, allocations: 1.082 MB / 1.567 GB, free: 9.016 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5905, allocations: 4 kB / 1.567 GB, free: 9.012 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5917, allocations: 0.6329 MB / 1.568 GB, free: 8.371 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.5936, allocations: 0.5323 MB / 1.568 GB, free: 7.863 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.6084, allocations: 9.003 MB / 1.577 GB, free: 14.64 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/0.6093, allocations: 1.215 MB / 1.578 GB, free: 13.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001216/0.6105, allocations: 390 kB / 1.579 GB, free: 13.02 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/0.6113, allocations: 0.5812 MB / 1.579 GB, free: 12.44 MB / 1.279 GB Notification: Performance of SimCode: time 5.61e-07/0.6113, allocations: 0 / 1.579 GB, free: 12.44 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5759/1.187, allocations: 35.26 MB / 1.614 GB, free: 275.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.06, allocations: 4.344 kB / 1.614 GB, free: 275.9 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.040419893106446]