Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",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.001465/0.001465, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 469.4 MB / 0.742 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.25 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8267/1.119, allocations: 265.5 MB / 1.323 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02751/1.146, allocations: 24.33 MB / 1.347 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/1.15, allocations: 89.69 kB / 1.347 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/1.152, allocations: 0.8388 MB / 1.348 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008995/1.161, allocations: 3.535 MB / 1.351 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/1.165, allocations: 1.231 MB / 1.352 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00432/1.169, allocations: 3.245 MB / 1.355 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/1.171, allocations: 1.158 MB / 1.357 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007/1.178, allocations: 3.342 MB / 1.36 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/1.179, allocations: 0.9248 MB / 1.361 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/1.18, allocations: 84.75 kB / 1.361 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008936/1.189, allocations: 3.69 MB / 1.364 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/1.189, allocations: 271.1 kB / 1.365 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/1.19, allocations: 0.6387 MB / 1.365 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00646/1.197, allocations: 3.303 MB / 1.369 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.197, allocations: 0 / 1.369 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.197, allocations: 0 / 1.369 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.658e-05/1.197, allocations: 0 / 1.369 GB, free: 2.953 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003386/1.2, allocations: 1.736 MB / 1.37 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.2, allocations: 10.19 kB / 1.37 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.213e-05/1.2, allocations: 99.28 kB / 1.37 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/1.202, allocations: 305 kB / 1.371 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.204, allocations: 1.115 MB / 1.372 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/1.204, allocations: 46.44 kB / 1.372 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/1.204, allocations: 64.62 kB / 1.372 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008525/1.205, allocations: 0.6763 MB / 1.372 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/1.205, allocations: 0 / 1.372 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/1.205, allocations: 24.59 kB / 1.373 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.205, allocations: 13.22 kB / 1.373 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/1.206, allocations: 430.5 kB / 1.373 GB, free: 15.89 MB / 1.014 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.004227/1.21, allocations: 5.392 MB / 1.378 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/1.21, allocations: 199 kB / 1.378 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/1.21, allocations: 118.2 kB / 1.378 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/1.211, allocations: 200.3 kB / 1.379 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.211, allocations: 43.47 kB / 1.379 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004347/1.211, allocations: 49.58 kB / 1.379 GB, free: 10.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/1.211, allocations: 0 / 1.379 GB, free: 10.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0008628/1.212, allocations: 350 kB / 1.379 GB, free: 9.965 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/1.212, allocations: 160.3 kB / 1.379 GB, free: 9.777 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.214, allocations: 1.176 MB / 1.38 GB, free: 9.129 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.214, allocations: 34.58 kB / 1.38 GB, free: 9.094 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/1.214, allocations: 0.5681 MB / 1.381 GB, free: 8.594 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/1.214, allocations: 54.8 kB / 1.381 GB, free: 8.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.214, allocations: 98.78 kB / 1.381 GB, free: 8.484 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/1.214, allocations: 320.5 kB / 1.381 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/1.215, allocations: 93.7 kB / 1.382 GB, free: 8.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/1.215, allocations: 392.4 kB / 1.382 GB, free: 7.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/1.215, allocations: 440.5 kB / 1.382 GB, free: 7.289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.215, allocations: 6.516 kB / 1.382 GB, free: 7.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000844/1.216, allocations: 496.2 kB / 1.383 GB, free: 7.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.216, allocations: 10.84 kB / 1.383 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.216, allocations: 4.875 kB / 1.383 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.216, allocations: 10.75 kB / 1.383 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/1.217, allocations: 87.58 kB / 1.383 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.217, allocations: 17.14 kB / 1.383 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/1.217, allocations: 38.56 kB / 1.383 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/1.217, allocations: 30.8 kB / 1.383 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004209/1.218, allocations: 313.2 kB / 1.383 GB, free: 6.824 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003394/1.218, allocations: 372.5 kB / 1.384 GB, free: 6.398 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004946/1.219, allocations: 452.1 kB / 1.384 GB, free: 5.996 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/1.219, allocations: 1.844 kB / 1.384 GB, free: 5.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008063/1.22, allocations: 482.5 kB / 1.385 GB, free: 5.789 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/1.22, allocations: 13.31 kB / 1.385 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.22, allocations: 10.22 kB / 1.385 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/1.22, allocations: 12.16 kB / 1.385 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/1.22, allocations: 89.95 kB / 1.385 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/1.22, allocations: 10.56 kB / 1.385 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/1.221, allocations: 47.17 kB / 1.385 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/1.221, allocations: 29.48 kB / 1.385 GB, free: 5.738 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.221, allocations: 216.5 kB / 1.385 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/1.221, allocations: 115 kB / 1.385 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/1.222, allocations: 256.4 kB / 1.385 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.222, allocations: 2.75 kB / 1.385 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.222, allocations: 0 / 1.385 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.222, allocations: 6.516 kB / 1.385 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/1.223, allocations: 1.218 MB / 1.387 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.223, allocations: 3.938 kB / 1.387 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.223, allocations: 30.84 kB / 1.387 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.223, allocations: 3.281 kB / 1.387 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.223, allocations: 2.812 kB / 1.387 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.223, allocations: 3.938 kB / 1.387 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.223, allocations: 6.469 kB / 1.387 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/1.224, allocations: 316.8 kB / 1.387 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/1.224, allocations: 228.9 kB / 1.387 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.224, allocations: 2.125 kB / 1.387 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/1.225, allocations: 31.47 kB / 1.387 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/1.225, allocations: 12.48 kB / 1.387 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.225, allocations: 2.562 kB / 1.387 GB, free: 3.812 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00117/1.226, allocations: 0.8507 MB / 1.388 GB, free: 3.336 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.226, allocations: 0 / 1.388 GB, free: 3.336 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001832/1.228, allocations: 0.6981 MB / 1.389 GB, free: 3.242 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002452/1.23, allocations: 1.265 MB / 1.39 GB, free: 2.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008901/1.231, allocations: 405.8 kB / 1.39 GB, free: 2.242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.231, allocations: 4.125 kB / 1.39 GB, free: 2.238 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/1.231, allocations: 70.11 kB / 1.39 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.233, allocations: 0.4986 MB / 1.391 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.244, allocations: 7.785 MB / 1.398 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/1.244, allocations: 1.044 MB / 1.399 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008668/1.245, allocations: 222.1 kB / 1.4 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/1.246, allocations: 400.5 kB / 1.4 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/1.246, allocations: 0 / 1.4 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/1.307, allocations: 35.75 MB / 1.435 GB, free: 11.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/9.536, allocations: 5.812 kB / 1.435 GB, free: 11.8 MB / 1.061 GB (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches