Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",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.004189/0.004189, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001266/0.001266, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 64.91 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2739, allocations: 162.2 MB / 1.241 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2329/0.5069, allocations: 214.1 MB / 1.451 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.5226, allocations: 12.16 MB / 1.462 GB, free: 6.168 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.5237, allocations: 43.69 kB / 1.462 GB, free: 6.125 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.525, allocations: 0.508 MB / 1.463 GB, free: 5.613 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.5294, allocations: 1.882 MB / 1.465 GB, free: 3.723 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.5337, allocations: 1.906 MB / 1.467 GB, free: 1.82 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.5368, allocations: 2.348 MB / 1.469 GB, free: 15.46 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.5386, allocations: 1.228 MB / 1.47 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.5446, allocations: 2.963 MB / 1.473 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5457, allocations: 0.6495 MB / 1.474 GB, free: 10.59 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.5459, allocations: 96 kB / 1.474 GB, free: 10.5 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.5507, allocations: 2.49 MB / 1.476 GB, free: 8 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006031/0.5513, allocations: 0.5415 MB / 1.477 GB, free: 7.457 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009501/0.5523, allocations: 0.7347 MB / 1.477 GB, free: 6.719 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.5569, allocations: 3.119 MB / 1.48 GB, free: 3.59 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5569, allocations: 0 / 1.48 GB, free: 3.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5569, allocations: 0 / 1.48 GB, free: 3.59 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.851e-05/0.557, allocations: 0 / 1.48 GB, free: 3.59 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002646/0.5596, allocations: 1.796 MB / 1.482 GB, free: 1.734 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5597, allocations: 12.03 kB / 1.482 GB, free: 1.723 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.5599, allocations: 164.8 kB / 1.482 GB, free: 1.551 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.5616, allocations: 382.6 kB / 1.483 GB, free: 1.176 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.5631, allocations: 0.9745 MB / 1.484 GB, free: 164 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.5632, allocations: 78.06 kB / 1.484 GB, free: 84 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5633, allocations: 100 kB / 1.484 GB, free: 15.98 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.5655, allocations: 1.536 MB / 1.485 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.5656, allocations: 4 kB / 1.485 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5657, allocations: 47.94 kB / 1.485 GB, free: 14.28 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/0.5658, allocations: 61.53 kB / 1.486 GB, free: 14.22 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5673, allocations: 1.032 MB / 1.487 GB, free: 13.19 MB / 1.217 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.006046/0.5733, allocations: 5.865 MB / 1.492 GB, free: 7.016 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.5739, allocations: 310.2 kB / 1.493 GB, free: 6.676 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.5743, allocations: 251.4 kB / 1.493 GB, free: 6.418 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007653/0.575, allocations: 0.7077 MB / 1.493 GB, free: 5.562 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5751, allocations: 42.55 kB / 1.494 GB, free: 5.512 MB / 1.217 GB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.5751, allocations: 4 kB / 1.494 GB, free: 5.508 MB / 1.217 GB Notification: Performance of matching and sorting (n=28): time 0.001299/0.5764, allocations: 0.6802 MB / 1.494 GB, free: 4.82 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.5765, allocations: 140.5 kB / 1.494 GB, free: 4.652 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.5786, allocations: 1.674 MB / 1.496 GB, free: 2.969 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.5787, allocations: 33.7 kB / 1.496 GB, free: 2.93 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.5792, allocations: 0.5663 MB / 1.497 GB, free: 2.359 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.5793, allocations: 107.1 kB / 1.497 GB, free: 2.254 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.5795, allocations: 61.7 kB / 1.497 GB, free: 2.188 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5796, allocations: 318 kB / 1.497 GB, free: 1.871 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.5798, allocations: 159.9 kB / 1.497 GB, free: 1.715 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5802, allocations: 268.4 kB / 1.497 GB, free: 1.422 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.5807, allocations: 408.9 kB / 1.498 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5807, allocations: 4 kB / 1.498 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007769/0.5815, allocations: 0.5433 MB / 1.498 GB, free: 448 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5815, allocations: 8 kB / 1.498 GB, free: 440 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5815, allocations: 0 / 1.498 GB, free: 440 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5816, allocations: 7.938 kB / 1.498 GB, free: 432 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.5818, allocations: 56.09 kB / 1.498 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5818, allocations: 15.88 kB / 1.498 GB, free: 360 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.5823, allocations: 115 kB / 1.499 GB, free: 244 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.5823, allocations: 16 kB / 1.499 GB, free: 228 kB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004846/0.5828, allocations: 381.5 kB / 1.499 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.583, allocations: 143.1 kB / 1.499 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.5836, allocations: 389.4 kB / 1.499 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5837, allocations: 4 kB / 1.499 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5837, allocations: 3.938 kB / 1.499 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5837, allocations: 3.984 kB / 1.499 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.5871, allocations: 2.518 MB / 1.502 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5871, allocations: 12.16 kB / 1.502 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.5873, allocations: 43.92 kB / 1.502 GB, free: 12.53 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.5873, allocations: 8 kB / 1.502 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5874, allocations: 19.94 kB / 1.502 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.5874, allocations: 11.92 kB / 1.502 GB, free: 12.49 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5874, allocations: 8 kB / 1.502 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.5881, allocations: 0.627 MB / 1.503 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.5885, allocations: 300 kB / 1.503 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5887, allocations: 15.98 kB / 1.503 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.5891, allocations: 12 kB / 1.503 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.5891, allocations: 31.86 kB / 1.503 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.5892, allocations: 24.06 kB / 1.503 GB, free: 11.36 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001588/0.5908, allocations: 1.223 MB / 1.504 GB, free: 10.14 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5908, allocations: 0 / 1.504 GB, free: 10.14 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000866/0.5916, allocations: 339.3 kB / 1.504 GB, free: 9.812 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.00235/0.594, allocations: 1.673 MB / 1.506 GB, free: 8.043 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.5946, allocations: 353 kB / 1.506 GB, free: 7.699 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5946, allocations: 0 / 1.506 GB, free: 7.699 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.5948, allocations: 164.2 kB / 1.507 GB, free: 7.539 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/0.5986, allocations: 0.923 MB / 1.508 GB, free: 6.641 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.6124, allocations: 10.53 MB / 1.518 GB, free: 11.77 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/0.6133, allocations: 1.204 MB / 1.519 GB, free: 10.54 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008334/0.6142, allocations: 306.7 kB / 1.519 GB, free: 10.23 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.6148, allocations: 467.2 kB / 1.52 GB, free: 9.777 MB / 1.248 GB Notification: Performance of SimCode: time 6.92e-07/0.6148, allocations: 0 / 1.52 GB, free: 9.777 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5666/1.181, allocations: 44.01 MB / 1.563 GB, free: 288.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.41, allocations: 10.95 kB / 1.563 GB, free: 288.9 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches