Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00766/0.00766, allocations: 99.52 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 191.9 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.05 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2734, allocations: 162.2 MB / 1.241 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1969/0.4703, allocations: 176.6 MB / 1.414 GB, free: 8.094 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.4856, allocations: 10.91 MB / 1.425 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.4865, allocations: 31.81 kB / 1.425 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.4876, allocations: 416.7 kB / 1.425 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.4902, allocations: 1.094 MB / 1.426 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.4939, allocations: 1.707 MB / 1.428 GB, free: 9.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002474/0.4964, allocations: 2.365 MB / 1.43 GB, free: 7.535 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.4982, allocations: 1.408 MB / 1.431 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.5014, allocations: 1.41 MB / 1.433 GB, free: 4.691 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009773/0.5024, allocations: 0.7974 MB / 1.434 GB, free: 3.891 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.5026, allocations: 152 kB / 1.434 GB, free: 3.742 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.505, allocations: 1.408 MB / 1.435 GB, free: 2.332 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004472/0.5055, allocations: 458.5 kB / 1.435 GB, free: 1.883 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007873/0.5063, allocations: 0.7891 MB / 1.436 GB, free: 1.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.5094, allocations: 2.596 MB / 1.439 GB, free: 14.48 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5095, allocations: 0 / 1.439 GB, free: 14.48 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5095, allocations: 0 / 1.439 GB, free: 14.48 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.5095, allocations: 0 / 1.439 GB, free: 14.48 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003286/0.5128, allocations: 1.939 MB / 1.441 GB, free: 12.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5128, allocations: 12.03 kB / 1.441 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.5131, allocations: 177.4 kB / 1.441 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.5152, allocations: 358.7 kB / 1.441 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.5168, allocations: 0.9923 MB / 1.442 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.5169, allocations: 90.33 kB / 1.442 GB, free: 10.81 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.5171, allocations: 116 kB / 1.442 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.5195, allocations: 1.302 MB / 1.444 GB, free: 9.328 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.5195, allocations: 4 kB / 1.444 GB, free: 9.324 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.5197, allocations: 56 kB / 1.444 GB, free: 9.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.5197, allocations: 28 kB / 1.444 GB, free: 9.242 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.5224, allocations: 1.441 MB / 1.445 GB, free: 7.789 MB / 1.17 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.006318/0.5287, allocations: 4.089 MB / 1.449 GB, free: 3.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.5311, allocations: 1.231 MB / 1.45 GB, free: 2.227 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000876/0.532, allocations: 450.1 kB / 1.451 GB, free: 1.785 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.5328, allocations: 425.5 kB / 1.451 GB, free: 1.297 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.5341, allocations: 0.6606 MB / 1.452 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 2.214e-06/0.5341, allocations: 0 / 1.452 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.004268/0.5383, allocations: 1.61 MB / 1.453 GB, free: 14.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.5385, allocations: 196.9 kB / 1.454 GB, free: 14.75 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5397, allocations: 0.875 MB / 1.454 GB, free: 13.85 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.5398, allocations: 53.7 kB / 1.454 GB, free: 13.79 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.5403, allocations: 0.5207 MB / 1.455 GB, free: 13.26 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.5406, allocations: 376.8 kB / 1.455 GB, free: 12.89 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.5409, allocations: 190.6 kB / 1.456 GB, free: 12.7 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.5411, allocations: 349.9 kB / 1.456 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.5419, allocations: 357.8 kB / 1.456 GB, free: 12 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009537/0.5429, allocations: 0.501 MB / 1.457 GB, free: 11.46 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.5446, allocations: 0.8446 MB / 1.458 GB, free: 10.6 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5446, allocations: 4 kB / 1.458 GB, free: 10.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002658/0.5473, allocations: 1.118 MB / 1.459 GB, free: 9.469 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5473, allocations: 4 kB / 1.459 GB, free: 9.465 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5473, allocations: 3.984 kB / 1.459 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.548, allocations: 88.81 kB / 1.459 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.549, allocations: 223.7 kB / 1.459 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.5514, allocations: 1.646 MB / 1.461 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008511/0.5522, allocations: 127.2 kB / 1.461 GB, free: 7.234 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.274e-05/0.5524, allocations: 44.03 kB / 1.461 GB, free: 7.191 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * 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.0004877/0.5529, allocations: 325.5 kB / 1.461 GB, free: 6.863 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.5531, allocations: 127.2 kB / 1.461 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.5565, allocations: 1.509 MB / 1.463 GB, free: 5.207 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5565, allocations: 12 kB / 1.463 GB, free: 5.195 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5565, allocations: 0 / 1.463 GB, free: 5.195 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.5566, allocations: 7.922 kB / 1.463 GB, free: 5.188 MB / 1.186 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.00502/0.5616, allocations: 2.836 MB / 1.465 GB, free: 2.246 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5616, allocations: 0 / 1.465 GB, free: 2.246 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009564/0.5626, allocations: 199.7 kB / 1.466 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.563, allocations: 76.97 kB / 1.466 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.5631, allocations: 39.91 kB / 1.466 GB, free: 1.934 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.5653, allocations: 1.681 MB / 1.467 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5653, allocations: 144 / 1.467 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.5691, allocations: 1.87 MB / 1.469 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.5696, allocations: 351.9 kB / 1.469 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5698, allocations: 27.94 kB / 1.47 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008987/0.5707, allocations: 81.47 kB / 1.47 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.5709, allocations: 92.75 kB / 1.47 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.571, allocations: 47.97 kB / 1.47 GB, free: 13.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000892/0.5719, allocations: 0.6261 MB / 1.47 GB, free: 12.96 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5719, allocations: 0 / 1.47 GB, free: 12.96 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00103/0.573, allocations: 458.9 kB / 1.471 GB, free: 12.51 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * 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.006186/0.5791, allocations: 3.022 MB / 1.474 GB, free: 9.629 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.5814, allocations: 1.069 MB / 1.475 GB, free: 8.547 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5814, allocations: 4 kB / 1.475 GB, free: 8.543 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.5827, allocations: 0.6563 MB / 1.475 GB, free: 7.875 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.585, allocations: 0.5242 MB / 1.476 GB, free: 7.375 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.5998, allocations: 8.814 MB / 1.485 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/0.6007, allocations: 1.162 MB / 1.486 GB, free: 13.16 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001133/0.6019, allocations: 373.6 kB / 1.486 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.6027, allocations: 0.5305 MB / 1.487 GB, free: 12.27 MB / 1.217 GB Notification: Performance of SimCode: time 2.6e-07/0.6027, allocations: 0 / 1.487 GB, free: 12.27 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/0.6751, allocations: 33.16 MB / 1.519 GB, free: 11.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.23, allocations: 8.469 kB / 1.519 GB, free: 11.5 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_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_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[503]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T