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.001547/0.001547, allocations: 108.3 kB / 16.45 MB, free: 6.453 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.001697/0.001697, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.397/1.397, allocations: 230.6 MB / 252.8 MB, free: 8.953 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 3.001/3.001, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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.001948/0.001948, allocations: 68.48 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2099/0.5514, allocations: 180.4 MB / 1.497 GB, free: 14.27 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.5708, allocations: 12.95 MB / 1.51 GB, free: 1.27 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.5723, allocations: 47.62 kB / 1.51 GB, free: 1.223 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.5742, allocations: 488.3 kB / 1.51 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.5778, allocations: 1.063 MB / 1.511 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005212/0.583, allocations: 1.91 MB / 1.513 GB, free: 13.77 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004172/0.5872, allocations: 2.547 MB / 1.515 GB, free: 11.22 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.5898, allocations: 1.317 MB / 1.517 GB, free: 9.84 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.5948, allocations: 1.629 MB / 1.518 GB, free: 8.234 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.5965, allocations: 0.9025 MB / 1.519 GB, free: 7.328 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005037/0.597, allocations: 176 kB / 1.519 GB, free: 7.156 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.6004, allocations: 1.505 MB / 1.521 GB, free: 5.648 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007919/0.6012, allocations: 0.4945 MB / 1.521 GB, free: 5.152 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.6028, allocations: 0.8863 MB / 1.522 GB, free: 4.262 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.6084, allocations: 2.857 MB / 1.525 GB, free: 1.395 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6084, allocations: 0 / 1.525 GB, free: 1.395 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6084, allocations: 0 / 1.525 GB, free: 1.395 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.852e-05/0.6085, allocations: 4 kB / 1.525 GB, free: 1.391 MB / 1.217 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.004774/0.6133, allocations: 2.107 MB / 1.527 GB, free: 15.22 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.6133, allocations: 11.98 kB / 1.527 GB, free: 15.21 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/0.6136, allocations: 206.7 kB / 1.527 GB, free: 15 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.6169, allocations: 470.4 kB / 1.528 GB, free: 14.54 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.6188, allocations: 1.051 MB / 1.529 GB, free: 13.44 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.6189, allocations: 98.72 kB / 1.529 GB, free: 13.34 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.6191, allocations: 140 kB / 1.529 GB, free: 13.2 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.6219, allocations: 1.517 MB / 1.53 GB, free: 11.61 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.6219, allocations: 3.938 kB / 1.53 GB, free: 11.61 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.622, allocations: 63.98 kB / 1.531 GB, free: 11.54 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.6221, allocations: 36 kB / 1.531 GB, free: 11.51 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.6249, allocations: 1.571 MB / 1.532 GB, free: 9.93 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.007884/0.6328, allocations: 5.432 MB / 1.537 GB, free: 4.16 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.6356, allocations: 1.459 MB / 1.539 GB, free: 2.621 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008722/0.6365, allocations: 439.6 kB / 1.539 GB, free: 2.191 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007775/0.6373, allocations: 429.3 kB / 1.54 GB, free: 1.695 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.6387, allocations: 0.6918 MB / 1.54 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 3.457e-06/0.6387, allocations: 0 / 1.54 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.004611/0.6433, allocations: 1.681 MB / 1.542 GB, free: 15.28 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.6434, allocations: 188.9 kB / 1.542 GB, free: 15.05 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.6448, allocations: 0.9245 MB / 1.543 GB, free: 14.11 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.6449, allocations: 49.7 kB / 1.543 GB, free: 14.05 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.6454, allocations: 0.6103 MB / 1.544 GB, free: 13.43 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.6458, allocations: 372.8 kB / 1.544 GB, free: 13.07 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.6461, allocations: 198.5 kB / 1.544 GB, free: 12.87 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.6463, allocations: 345.9 kB / 1.545 GB, free: 12.52 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000806/0.6471, allocations: 373.8 kB / 1.545 GB, free: 12.16 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6481, allocations: 0.5593 MB / 1.545 GB, free: 11.54 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.65, allocations: 0.9371 MB / 1.546 GB, free: 10.56 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.65, allocations: 0 / 1.546 GB, free: 10.56 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002915/0.653, allocations: 1.193 MB / 1.548 GB, free: 9.352 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.653, allocations: 4 kB / 1.548 GB, free: 9.348 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.653, allocations: 4 kB / 1.548 GB, free: 9.344 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.6536, allocations: 92.8 kB / 1.548 GB, free: 9.25 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6547, allocations: 243.7 kB / 1.548 GB, free: 9.012 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.6572, allocations: 1.651 MB / 1.55 GB, free: 7.219 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6584, allocations: 139.1 kB / 1.55 GB, free: 7.082 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.6585, allocations: 43.92 kB / 1.55 GB, free: 7.039 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.0007605/0.6593, allocations: 345.8 kB / 1.55 GB, free: 6.691 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.6596, allocations: 131.2 kB / 1.55 GB, free: 6.562 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.6629, allocations: 1.425 MB / 1.552 GB, free: 5.125 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6629, allocations: 12 kB / 1.552 GB, free: 5.113 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6629, allocations: 0 / 1.552 GB, free: 5.113 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.6629, allocations: 7.984 kB / 1.552 GB, free: 5.105 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.005285/0.6682, allocations: 2.896 MB / 1.554 GB, free: 2.125 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6682, allocations: 0 / 1.554 GB, free: 2.125 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6692, allocations: 219.7 kB / 1.555 GB, free: 1.91 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.6697, allocations: 76.72 kB / 1.555 GB, free: 1.832 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.6698, allocations: 35.97 kB / 1.555 GB, free: 1.797 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.6719, allocations: 1.67 MB / 1.556 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6719, allocations: 0 / 1.556 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.6749, allocations: 1.331 MB / 1.558 GB, free: 14.63 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/0.6755, allocations: 375.7 kB / 1.558 GB, free: 14.24 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.6757, allocations: 31.92 kB / 1.558 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.6767, allocations: 77.48 kB / 1.558 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.6769, allocations: 88.81 kB / 1.558 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.677, allocations: 47.97 kB / 1.558 GB, free: 14 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009755/0.6779, allocations: 0.6428 MB / 1.559 GB, free: 13.35 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6779, allocations: 4 kB / 1.559 GB, free: 13.35 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001411/0.6793, allocations: 0.4948 MB / 1.559 GB, free: 12.85 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.005425/0.6848, allocations: 2.479 MB / 1.562 GB, free: 10.52 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.6873, allocations: 1.082 MB / 1.563 GB, free: 9.43 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6873, allocations: 0 / 1.563 GB, free: 9.43 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.6886, allocations: 0.6328 MB / 1.563 GB, free: 8.785 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.691, allocations: 0.5421 MB / 1.564 GB, free: 8.27 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.7067, allocations: 8.994 MB / 1.573 GB, free: 15.07 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.7075, allocations: 1.209 MB / 1.574 GB, free: 13.83 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001314/0.7089, allocations: 390 kB / 1.574 GB, free: 13.45 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008781/0.7097, allocations: 0.5812 MB / 1.575 GB, free: 12.86 MB / 1.279 GB Notification: Performance of SimCode: time 1.032e-06/0.7097, allocations: 0 / 1.575 GB, free: 12.86 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6491/1.359, allocations: 34.49 MB / 1.609 GB, free: 276.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/15.17, allocations: 11.39 kB / 1.609 GB, free: 276.6 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.68056858307682]