Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001612/0.001612, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.305/1.305, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.852/2.852, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.001841/0.001841, allocations: 71 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1945/0.4766, allocations: 180.6 MB / 1.529 GB, free: 3.145 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.495, allocations: 13.13 MB / 1.542 GB, free: 5.965 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.4962, allocations: 47.62 kB / 1.542 GB, free: 5.918 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.4977, allocations: 488.4 kB / 1.543 GB, free: 5.438 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.5007, allocations: 1.067 MB / 1.544 GB, free: 4.367 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.5052, allocations: 1.952 MB / 1.546 GB, free: 2.422 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.5085, allocations: 2.567 MB / 1.548 GB, free: 15.85 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.5106, allocations: 1.295 MB / 1.549 GB, free: 14.49 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004152/0.5148, allocations: 1.646 MB / 1.551 GB, free: 12.87 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.516, allocations: 0.9119 MB / 1.552 GB, free: 11.95 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.5163, allocations: 172 kB / 1.552 GB, free: 11.79 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.5188, allocations: 1.525 MB / 1.553 GB, free: 10.26 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.5193, allocations: 0.4906 MB / 1.554 GB, free: 9.766 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008243/0.5201, allocations: 0.8903 MB / 1.555 GB, free: 8.871 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.5236, allocations: 2.868 MB / 1.558 GB, free: 5.992 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5236, allocations: 0 / 1.558 GB, free: 5.992 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5236, allocations: 0 / 1.558 GB, free: 5.992 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.5236, allocations: 0 / 1.558 GB, free: 5.992 MB / 1.248 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.003384/0.527, allocations: 2.032 MB / 1.56 GB, free: 3.914 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.527, allocations: 8.031 kB / 1.56 GB, free: 3.906 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.5273, allocations: 206.7 kB / 1.56 GB, free: 3.695 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.5303, allocations: 466.4 kB / 1.56 GB, free: 3.238 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.5319, allocations: 0.9672 MB / 1.561 GB, free: 2.242 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.532, allocations: 98.72 kB / 1.561 GB, free: 2.145 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.5322, allocations: 132 kB / 1.561 GB, free: 2.016 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.5346, allocations: 1.524 MB / 1.563 GB, free: 424 kB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.5346, allocations: 3.938 kB / 1.563 GB, free: 420 kB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.5348, allocations: 56 kB / 1.563 GB, free: 364 kB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.5348, allocations: 36 kB / 1.563 GB, free: 328 kB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.5375, allocations: 1.583 MB / 1.565 GB, free: 14.73 MB / 1.264 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.00739/0.5449, allocations: 5.352 MB / 1.57 GB, free: 9.039 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.5472, allocations: 1.151 MB / 1.571 GB, free: 7.883 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.548, allocations: 435.6 kB / 1.571 GB, free: 7.457 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.5486, allocations: 120.8 kB / 1.571 GB, free: 7.336 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.5497, allocations: 0.6841 MB / 1.572 GB, free: 6.633 MB / 1.264 GB Notification: Performance of pre-optimization done (n=107): time 2.525e-06/0.5497, allocations: 4 kB / 1.572 GB, free: 6.629 MB / 1.264 GB Notification: Performance of matching and sorting (n=107): time 0.004154/0.5539, allocations: 1.601 MB / 1.574 GB, free: 5.02 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.554, allocations: 192.9 kB / 1.574 GB, free: 4.789 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5551, allocations: 0.9245 MB / 1.575 GB, free: 3.844 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.5552, allocations: 49.7 kB / 1.575 GB, free: 3.789 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.5557, allocations: 0.6064 MB / 1.575 GB, free: 3.176 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.556, allocations: 372.8 kB / 1.576 GB, free: 2.809 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.5563, allocations: 202.5 kB / 1.576 GB, free: 2.605 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5565, allocations: 341.9 kB / 1.576 GB, free: 2.266 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.5572, allocations: 381.8 kB / 1.577 GB, free: 1.891 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/0.5581, allocations: 0.567 MB / 1.577 GB, free: 1.262 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.5597, allocations: 0.9371 MB / 1.578 GB, free: 292 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5597, allocations: 0 / 1.578 GB, free: 292 kB / 1.264 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002492/0.5622, allocations: 1.185 MB / 1.579 GB, free: 15.08 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5622, allocations: 8 kB / 1.579 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5623, allocations: 4 kB / 1.579 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.5628, allocations: 89.17 kB / 1.579 GB, free: 14.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5638, allocations: 247.6 kB / 1.58 GB, free: 14.74 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.5658, allocations: 1.55 MB / 1.581 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/0.5667, allocations: 135.2 kB / 1.581 GB, free: 12.94 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.5668, allocations: 43.97 kB / 1.581 GB, free: 12.9 MB / 1.279 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.0005548/0.5673, allocations: 348.3 kB / 1.582 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.5676, allocations: 131.3 kB / 1.582 GB, free: 12.42 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.5706, allocations: 1.433 MB / 1.583 GB, free: 10.98 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.5706, allocations: 12 kB / 1.583 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5706, allocations: 0 / 1.583 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5706, allocations: 7.984 kB / 1.583 GB, free: 10.96 MB / 1.279 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.004873/0.5755, allocations: 2.863 MB / 1.586 GB, free: 8.016 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5755, allocations: 3.938 kB / 1.586 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009397/0.5764, allocations: 223.7 kB / 1.586 GB, free: 7.793 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.5768, allocations: 76.72 kB / 1.586 GB, free: 7.715 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.5769, allocations: 39.91 kB / 1.586 GB, free: 7.676 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.5788, allocations: 1.563 MB / 1.588 GB, free: 5.992 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5788, allocations: 4.031 kB / 1.588 GB, free: 5.988 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.5814, allocations: 1.335 MB / 1.589 GB, free: 4.633 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.5821, allocations: 290.7 kB / 1.589 GB, free: 4.348 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.5823, allocations: 27.94 kB / 1.589 GB, free: 4.32 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/0.5832, allocations: 81.31 kB / 1.589 GB, free: 4.242 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5834, allocations: 88.83 kB / 1.59 GB, free: 4.156 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5835, allocations: 51.97 kB / 1.59 GB, free: 4.105 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008863/0.5844, allocations: 0.635 MB / 1.59 GB, free: 3.461 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.5844, allocations: 0 / 1.59 GB, free: 3.461 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001203/0.5856, allocations: 0.4948 MB / 1.591 GB, free: 2.965 MB / 1.279 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.004955/0.5905, allocations: 2.479 MB / 1.593 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.5928, allocations: 1.078 MB / 1.594 GB, free: 15.55 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5928, allocations: 0 / 1.594 GB, free: 15.55 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.594, allocations: 0.6406 MB / 1.595 GB, free: 14.89 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.5962, allocations: 0.5409 MB / 1.595 GB, free: 14.38 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.6111, allocations: 9.002 MB / 1.604 GB, free: 5.168 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/0.612, allocations: 1.213 MB / 1.605 GB, free: 3.922 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001252/0.6133, allocations: 394 kB / 1.606 GB, free: 3.535 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/0.6141, allocations: 0.5812 MB / 1.606 GB, free: 2.953 MB / 1.295 GB Notification: Performance of SimCode: time 6.81e-07/0.6141, allocations: 0 / 1.606 GB, free: 2.953 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5943/1.208, allocations: 35.26 MB / 1.641 GB, free: 245.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.21, allocations: 7.266 kB / 1.641 GB, free: 245.7 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.267043750034645]