Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_10_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.005034/0.005034, allocations: 98.02 kB / 15.73 MB, free: 6.07 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.001286/0.001285, allocations: 195.5 kB / 16.68 MB, free: 5.977 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 67.89 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6978, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1711/0.8689, allocations: 176.6 MB / 1.339 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.8827, allocations: 10.89 MB / 1.349 GB, free: 7.617 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.8834, allocations: 31.81 kB / 1.349 GB, free: 7.586 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.8844, allocations: 420.7 kB / 1.35 GB, free: 7.172 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.8869, allocations: 1.116 MB / 1.351 GB, free: 6.055 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.8905, allocations: 1.735 MB / 1.352 GB, free: 4.324 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.8927, allocations: 2.388 MB / 1.355 GB, free: 1.926 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.8944, allocations: 1.397 MB / 1.356 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.8971, allocations: 1.31 MB / 1.357 GB, free: 15.2 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008761/0.898, allocations: 0.8052 MB / 1.358 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.8982, allocations: 156 kB / 1.358 GB, free: 14.24 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.9006, allocations: 1.415 MB / 1.36 GB, free: 12.82 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.9009, allocations: 454.6 kB / 1.36 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007033/0.9017, allocations: 0.7814 MB / 1.361 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002971/0.9046, allocations: 2.604 MB / 1.363 GB, free: 8.977 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9047, allocations: 0 / 1.363 GB, free: 8.977 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9047, allocations: 0 / 1.363 GB, free: 8.977 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.9047, allocations: 0 / 1.363 GB, free: 8.977 MB / 1.092 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.003129/0.9078, allocations: 1.939 MB / 1.365 GB, free: 6.973 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9079, allocations: 12.92 kB / 1.365 GB, free: 6.961 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.9081, allocations: 177.4 kB / 1.366 GB, free: 6.777 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.9102, allocations: 358.7 kB / 1.366 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.9117, allocations: 0.9962 MB / 1.367 GB, free: 5.387 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.9118, allocations: 86.33 kB / 1.367 GB, free: 5.301 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.912, allocations: 123.9 kB / 1.367 GB, free: 5.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.9141, allocations: 1.294 MB / 1.368 GB, free: 3.82 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.9142, allocations: 0 / 1.368 GB, free: 3.82 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.9143, allocations: 55.98 kB / 1.368 GB, free: 3.766 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.9143, allocations: 28 kB / 1.368 GB, free: 3.738 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.9168, allocations: 1.449 MB / 1.37 GB, free: 2.281 MB / 1.092 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.005964/0.9227, allocations: 4.039 MB / 1.374 GB, free: 14.03 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.9249, allocations: 1.219 MB / 1.375 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/0.9257, allocations: 443.6 kB / 1.375 GB, free: 12.36 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/0.9265, allocations: 429.5 kB / 1.376 GB, free: 11.87 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.9276, allocations: 0.6669 MB / 1.376 GB, free: 11.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=106): time 4.138e-06/0.9277, allocations: 3.984 kB / 1.376 GB, free: 11.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=106): time 0.003996/0.9317, allocations: 1.61 MB / 1.378 GB, free: 9.543 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.9318, allocations: 188.9 kB / 1.378 GB, free: 9.316 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.9329, allocations: 0.8867 MB / 1.379 GB, free: 8.406 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.334e-05/0.933, allocations: 45.7 kB / 1.379 GB, free: 8.355 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.9334, allocations: 0.5285 MB / 1.38 GB, free: 7.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.9337, allocations: 364.9 kB / 1.38 GB, free: 7.461 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.9341, allocations: 194.5 kB / 1.38 GB, free: 7.262 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9342, allocations: 349.8 kB / 1.38 GB, free: 6.914 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.9349, allocations: 361.8 kB / 1.381 GB, free: 6.562 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.9358, allocations: 0.4932 MB / 1.381 GB, free: 6.035 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.9375, allocations: 0.8445 MB / 1.382 GB, free: 5.172 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.9375, allocations: 8 kB / 1.382 GB, free: 5.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002521/0.94, allocations: 1.122 MB / 1.383 GB, free: 4.031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.94, allocations: 11.94 kB / 1.383 GB, free: 4.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9401, allocations: 0 / 1.383 GB, free: 4.02 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.9406, allocations: 88.86 kB / 1.383 GB, free: 3.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.9417, allocations: 215.7 kB / 1.384 GB, free: 3.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.9437, allocations: 1.646 MB / 1.385 GB, free: 1.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/0.9446, allocations: 123.2 kB / 1.385 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.9447, allocations: 43.97 kB / 1.385 GB, free: 1.758 MB / 1.107 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.0005078/0.9452, allocations: 331.5 kB / 1.386 GB, free: 1.426 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.9454, allocations: 119.2 kB / 1.386 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.9486, allocations: 1.505 MB / 1.387 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.9487, allocations: 12 kB / 1.387 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9487, allocations: 3.984 kB / 1.387 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.9487, allocations: 11.86 kB / 1.387 GB, free: 15.75 MB / 1.123 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.005015/0.9537, allocations: 2.847 MB / 1.39 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9537, allocations: 4 kB / 1.39 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/0.9547, allocations: 195.8 kB / 1.39 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.9551, allocations: 80.91 kB / 1.39 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.9552, allocations: 31.98 kB / 1.39 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.9572, allocations: 1.678 MB / 1.392 GB, free: 10.67 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9572, allocations: 4 kB / 1.392 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.9608, allocations: 1.867 MB / 1.394 GB, free: 8.762 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.9615, allocations: 351.9 kB / 1.394 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.9617, allocations: 24 kB / 1.394 GB, free: 8.375 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009291/0.9626, allocations: 78.16 kB / 1.394 GB, free: 8.301 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.9628, allocations: 92.75 kB / 1.394 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.9629, allocations: 47.97 kB / 1.394 GB, free: 8.164 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008979/0.9638, allocations: 0.63 MB / 1.395 GB, free: 7.523 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9638, allocations: 3.938 kB / 1.395 GB, free: 7.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001168/0.965, allocations: 458.9 kB / 1.395 GB, free: 7.07 MB / 1.123 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.00533/0.9703, allocations: 3.033 MB / 1.398 GB, free: 4.16 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00219/0.9725, allocations: 1.058 MB / 1.399 GB, free: 3.09 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.9726, allocations: 8.172 kB / 1.399 GB, free: 3.082 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.9738, allocations: 0.664 MB / 1.4 GB, free: 2.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.976, allocations: 0.5285 MB / 1.401 GB, free: 1.895 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.9903, allocations: 8.81 MB / 1.409 GB, free: 8.891 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/0.9911, allocations: 1.162 MB / 1.41 GB, free: 7.699 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001176/0.9923, allocations: 377.6 kB / 1.411 GB, free: 7.328 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/0.993, allocations: 0.5304 MB / 1.411 GB, free: 6.797 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/0.9931, allocations: 0 / 1.411 GB, free: 6.797 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06319/1.056, allocations: 33.16 MB / 1.444 GB, free: 5.941 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.17, allocations: 3.781 kB / 1.444 GB, free: 5.938 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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