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.007556/0.007556, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001939/0.001939, allocations: 187 kB / 16.67 MB, free: 5.883 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.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.521/2.521, allocations: 437 MB / 0.7105 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.24, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.671/0.911, allocations: 176.5 MB / 1.339 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.9251, allocations: 10.91 MB / 1.349 GB, free: 5.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.9261, allocations: 32.09 kB / 1.349 GB, free: 5.078 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.9271, allocations: 416.6 kB / 1.35 GB, free: 4.809 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.9299, allocations: 1.094 MB / 1.351 GB, free: 4.176 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.9337, allocations: 1.716 MB / 1.352 GB, free: 3.277 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.9361, allocations: 2.373 MB / 1.355 GB, free: 2.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.9378, allocations: 1.413 MB / 1.356 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.9405, allocations: 1.263 MB / 1.357 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.9414, allocations: 0.8116 MB / 1.358 GB, free: 468 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.9416, allocations: 158.4 kB / 1.358 GB, free: 464 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.9441, allocations: 1.413 MB / 1.36 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.9445, allocations: 446.7 kB / 1.36 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.9452, allocations: 0.7846 MB / 1.361 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.9482, allocations: 2.59 MB / 1.363 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9482, allocations: 0 / 1.363 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9482, allocations: 3.938 kB / 1.363 GB, free: 14.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.9482, allocations: 0 / 1.363 GB, free: 14.06 MB / 1.045 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.003234/0.9515, allocations: 1.887 MB / 1.365 GB, free: 12.62 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.9515, allocations: 8.5 kB / 1.365 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.9517, allocations: 179.4 kB / 1.365 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.954, allocations: 355.4 kB / 1.366 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.9555, allocations: 0.982 MB / 1.367 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.9556, allocations: 90.48 kB / 1.367 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.9558, allocations: 121.9 kB / 1.367 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.9579, allocations: 1.299 MB / 1.368 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.958, allocations: 0 / 1.368 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.9581, allocations: 53.19 kB / 1.368 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.9581, allocations: 28.84 kB / 1.368 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.9605, allocations: 1.453 MB / 1.37 GB, free: 9.895 MB / 1.045 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.005903/0.9664, allocations: 4.026 MB / 1.374 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.9686, allocations: 1.21 MB / 1.375 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.9693, allocations: 459.5 kB / 1.375 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.9701, allocations: 422.2 kB / 1.376 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.9712, allocations: 0.6654 MB / 1.376 GB, free: 4.918 MB / 1.045 GB Notification: Performance of pre-optimization done (n=106): time 2.464e-06/0.9712, allocations: 0 / 1.376 GB, free: 4.918 MB / 1.045 GB Notification: Performance of matching and sorting (n=106): time 0.004029/0.9752, allocations: 1.607 MB / 1.378 GB, free: 4.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9754, allocations: 195 kB / 1.378 GB, free: 3.855 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.9764, allocations: 0.8807 MB / 1.379 GB, free: 3.352 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/0.9765, allocations: 48.42 kB / 1.379 GB, free: 3.305 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.9769, allocations: 0.5141 MB / 1.379 GB, free: 2.848 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.9772, allocations: 352.3 kB / 1.38 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.9775, allocations: 189.5 kB / 1.38 GB, free: 2.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9776, allocations: 348 kB / 1.38 GB, free: 2.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.9784, allocations: 366 kB / 1.381 GB, free: 1.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008584/0.9792, allocations: 0.4954 MB / 1.381 GB, free: 1.602 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.9808, allocations: 0.8448 MB / 1.382 GB, free: 1.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9808, allocations: 0 / 1.382 GB, free: 1.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002461/0.9833, allocations: 1.119 MB / 1.383 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9833, allocations: 4.938 kB / 1.383 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9833, allocations: 1.844 kB / 1.383 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.9839, allocations: 86.2 kB / 1.383 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009701/0.9849, allocations: 218 kB / 1.383 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.987, allocations: 1.655 MB / 1.385 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.9879, allocations: 123 kB / 1.385 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.988, allocations: 39.34 kB / 1.385 GB, free: 14.76 MB / 1.061 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.0004685/0.9885, allocations: 324.8 kB / 1.385 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.9887, allocations: 120.2 kB / 1.385 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.9919, allocations: 1.51 MB / 1.387 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.9919, allocations: 10.09 kB / 1.387 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.9919, allocations: 2.906 kB / 1.387 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.9919, allocations: 7.969 kB / 1.387 GB, free: 13.57 MB / 1.061 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.004661/0.9966, allocations: 2.845 MB / 1.39 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.9966, allocations: 2.719 kB / 1.39 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/0.9975, allocations: 199.1 kB / 1.39 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/0.998, allocations: 76.84 kB / 1.39 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/0.9981, allocations: 28.39 kB / 1.39 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1, allocations: 1.67 MB / 1.392 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1, allocations: 2.406 kB / 1.392 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/1.003, allocations: 1.871 MB / 1.394 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/1.004, allocations: 351.6 kB / 1.394 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.004, allocations: 25.66 kB / 1.394 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/1.005, allocations: 71.39 kB / 1.394 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.005, allocations: 88.72 kB / 1.394 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/1.005, allocations: 56.88 kB / 1.394 GB, free: 8.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007854/1.006, allocations: 0.6272 MB / 1.395 GB, free: 8.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.006, allocations: 0 / 1.395 GB, free: 8.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00109/1.007, allocations: 447.1 kB / 1.395 GB, free: 7.934 MB / 1.061 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.005111/1.012, allocations: 3.026 MB / 1.398 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002082/1.014, allocations: 1.063 MB / 1.399 GB, free: 5.305 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.014, allocations: 7.797 kB / 1.399 GB, free: 5.297 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.016, allocations: 0.6607 MB / 1.4 GB, free: 4.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.018, allocations: 0.5272 MB / 1.4 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.032, allocations: 8.759 MB / 1.409 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.033, allocations: 1.164 MB / 1.41 GB, free: 9.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001135/1.034, allocations: 373.6 kB / 1.41 GB, free: 9.609 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/1.034, allocations: 0.5266 MB / 1.411 GB, free: 9.082 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.035, allocations: 4 kB / 1.411 GB, free: 9.078 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/1.098, allocations: 33.17 MB / 1.443 GB, free: 8.281 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.1, allocations: 9.688 kB / 1.443 GB, free: 8.277 MB / 1.107 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