Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 100.1 kB / 15.88 MB, free: 12 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.001818/0.001818, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.879/2.879, allocations: 461.8 MB / 0.7348 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 68.48 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3374, allocations: 157.4 MB / 1.053 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.9302/1.268, allocations: 212.5 MB / 1.26 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01671/1.284, allocations: 12.27 MB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/1.287, allocations: 53.77 kB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/1.288, allocations: 403.9 kB / 1.273 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005385/1.294, allocations: 1.767 MB / 1.274 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/1.299, allocations: 1.724 MB / 1.276 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005354/1.304, allocations: 3.071 MB / 1.279 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/1.306, allocations: 1.025 MB / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/1.308, allocations: 0.7237 MB / 1.281 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/1.31, allocations: 0.7124 MB / 1.281 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/1.311, allocations: 47.38 kB / 1.281 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009158/1.32, allocations: 3.527 MB / 1.285 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/1.321, allocations: 0.5013 MB / 1.285 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/1.322, allocations: 0.6698 MB / 1.286 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/1.327, allocations: 2.432 MB / 1.288 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/1.327, allocations: 0 / 1.288 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/1.327, allocations: 2.906 kB / 1.288 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.711e-05/1.327, allocations: 1.125 kB / 1.288 GB, free: 1.641 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003285/1.331, allocations: 1.726 MB / 1.29 GB, free: 16.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.331, allocations: 12.66 kB / 1.29 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/1.333, allocations: 372.4 kB / 1.291 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.334, allocations: 0.888 MB / 1.291 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/1.334, allocations: 75.75 kB / 1.291 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.334, allocations: 100.6 kB / 1.292 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/1.336, allocations: 1.51 MB / 1.293 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.336, allocations: 8.75 kB / 1.293 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/1.337, allocations: 51.78 kB / 1.293 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.722e-05/1.337, allocations: 58.39 kB / 1.293 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/1.338, allocations: 1.009 MB / 1.294 GB, free: 15.97 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.007402/1.346, allocations: 5.937 MB / 1.3 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/1.346, allocations: 318.2 kB / 1.3 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/1.347, allocations: 252.4 kB / 1.3 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009803/1.348, allocations: 0.7141 MB / 1.301 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/1.348, allocations: 39.88 kB / 1.301 GB, free: 11.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.025e-06/1.348, allocations: 5.312 kB / 1.301 GB, free: 11.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001881/1.35, allocations: 0.6683 MB / 1.302 GB, free: 11.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.35, allocations: 132.5 kB / 1.302 GB, free: 11.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/1.352, allocations: 1.658 MB / 1.304 GB, free: 11.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/1.352, allocations: 34.86 kB / 1.304 GB, free: 11.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/1.353, allocations: 0.5549 MB / 1.304 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.353, allocations: 95.98 kB / 1.304 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/1.353, allocations: 75.03 kB / 1.304 GB, free: 10.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.354, allocations: 319.8 kB / 1.305 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/1.354, allocations: 162 kB / 1.305 GB, free: 10.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/1.354, allocations: 293.5 kB / 1.305 GB, free: 10.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/1.355, allocations: 434.6 kB / 1.305 GB, free: 10.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.355, allocations: 0 / 1.305 GB, free: 10.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009432/1.356, allocations: 0.5608 MB / 1.306 GB, free: 10.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.356, allocations: 6.719 kB / 1.306 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.356, allocations: 2.156 kB / 1.306 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.356, allocations: 4.969 kB / 1.306 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/1.356, allocations: 61.42 kB / 1.306 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.356, allocations: 4.469 kB / 1.306 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/1.357, allocations: 116.1 kB / 1.306 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/1.357, allocations: 22.75 kB / 1.306 GB, free: 10.19 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004745/1.358, allocations: 379 kB / 1.307 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.358, allocations: 137.6 kB / 1.307 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/1.358, allocations: 376.6 kB / 1.307 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.358, allocations: 9.156 kB / 1.307 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.358, allocations: 0 / 1.307 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.358, allocations: 10.16 kB / 1.307 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/1.362, allocations: 2.6 MB / 1.31 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.362, allocations: 5.719 kB / 1.31 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/1.362, allocations: 51.42 kB / 1.31 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.363, allocations: 13.44 kB / 1.31 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/1.363, allocations: 12.38 kB / 1.31 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.363, allocations: 10.34 kB / 1.31 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.363, allocations: 12.78 kB / 1.31 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/1.363, allocations: 0.6153 MB / 1.31 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/1.364, allocations: 296.6 kB / 1.311 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.364, allocations: 16 kB / 1.311 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/1.365, allocations: 22.06 kB / 1.311 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/1.365, allocations: 33.75 kB / 1.311 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/1.365, allocations: 23.45 kB / 1.311 GB, free: 8.363 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001518/1.366, allocations: 1.203 MB / 1.312 GB, free: 8.254 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.366, allocations: 0 / 1.312 GB, free: 8.254 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001382/1.368, allocations: 336 kB / 1.312 GB, free: 8.223 MB / 1.014 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.001791/1.369, allocations: 0.6325 MB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005369/1.37, allocations: 349.4 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.37, allocations: 3.312 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/1.37, allocations: 161.6 kB / 1.313 GB, free: 8.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.374, allocations: 0.8703 MB / 1.314 GB, free: 7.941 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/1.377, allocations: 2.461 MB / 1.317 GB, free: 6.656 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/1.378, allocations: 1.199 MB / 1.318 GB, free: 5.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/1.378, allocations: 87.84 kB / 1.318 GB, free: 5.93 MB / 1.014 GB Notification: Performance of SimCode: time 1.864e-06/1.378, allocations: 4 kB / 1.318 GB, free: 5.926 MB / 1.014 GB Notification: Performance of Templates: time 0.03981/1.418, allocations: 24.72 MB / 1.342 GB, free: 14.52 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches