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 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: 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.001579/0.001579, 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.002113/0.002113, allocations: 192.8 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.7 MB / 0.7452 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.86 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3628, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.8681/1.231, allocations: 214.1 MB / 1.277 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01342/1.244, allocations: 12.17 MB / 1.289 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/1.246, allocations: 43.72 kB / 1.289 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/1.247, allocations: 0.5006 MB / 1.29 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/1.252, allocations: 1.881 MB / 1.292 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.257, allocations: 1.897 MB / 1.293 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003917/1.261, allocations: 2.377 MB / 1.296 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.263, allocations: 1.201 MB / 1.297 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/1.265, allocations: 0.8269 MB / 1.298 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008673/1.266, allocations: 0.6566 MB / 1.298 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/1.266, allocations: 89.98 kB / 1.298 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005838/1.272, allocations: 2.848 MB / 1.301 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005984/1.272, allocations: 0.5385 MB / 1.302 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009193/1.273, allocations: 0.7244 MB / 1.302 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005219/1.278, allocations: 3.127 MB / 1.305 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.278, allocations: 0 / 1.305 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/1.278, allocations: 2.062 kB / 1.305 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.244e-05/1.278, allocations: 0 / 1.305 GB, free: 4.785 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.003105/1.282, allocations: 1.725 MB / 1.307 GB, free: 19.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.282, allocations: 10.34 kB / 1.307 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/1.283, allocations: 375.1 kB / 1.308 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.285, allocations: 0.8896 MB / 1.308 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/1.285, allocations: 78.91 kB / 1.308 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.285, allocations: 98.09 kB / 1.309 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/1.287, allocations: 1.508 MB / 1.31 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.287, allocations: 6.312 kB / 1.31 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/1.287, allocations: 45.66 kB / 1.31 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-05/1.287, allocations: 62.2 kB / 1.31 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/1.289, allocations: 1.02 MB / 1.311 GB, free: 19.13 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.006552/1.295, allocations: 5.926 MB / 1.317 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/1.296, allocations: 318.4 kB / 1.317 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/1.296, allocations: 249.1 kB / 1.317 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007899/1.297, allocations: 0.7111 MB / 1.318 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.297, allocations: 44.75 kB / 1.318 GB, free: 14.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.336e-06/1.297, allocations: 0.875 kB / 1.318 GB, free: 14.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001443/1.298, allocations: 0.6689 MB / 1.319 GB, free: 14.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/1.298, allocations: 133.4 kB / 1.319 GB, free: 14.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.3, allocations: 1.662 MB / 1.321 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/1.3, allocations: 34.08 kB / 1.321 GB, free: 14.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/1.301, allocations: 0.5475 MB / 1.321 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/1.301, allocations: 98 kB / 1.321 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/1.301, allocations: 69.75 kB / 1.321 GB, free: 14.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.301, allocations: 318 kB / 1.322 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/1.301, allocations: 161.7 kB / 1.322 GB, free: 13.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/1.302, allocations: 290.8 kB / 1.322 GB, free: 13.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/1.302, allocations: 433.8 kB / 1.322 GB, free: 13.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/1.302, allocations: 1.969 kB / 1.322 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007652/1.303, allocations: 0.57 MB / 1.323 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.303, allocations: 9.062 kB / 1.323 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.303, allocations: 3.344 kB / 1.323 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.303, allocations: 5.406 kB / 1.323 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.303, allocations: 56.95 kB / 1.323 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.303, allocations: 8.578 kB / 1.323 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/1.304, allocations: 106.7 kB / 1.323 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/1.304, allocations: 27.78 kB / 1.323 GB, free: 13.41 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.0005797/1.305, allocations: 373 kB / 1.324 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/1.305, allocations: 141.7 kB / 1.324 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/1.306, allocations: 384.7 kB / 1.324 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.306, allocations: 3.219 kB / 1.324 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.306, allocations: 0 / 1.324 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.306, allocations: 6.734 kB / 1.324 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/1.309, allocations: 2.608 MB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.309, allocations: 5.5 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.31, allocations: 50.27 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/1.31, allocations: 6.875 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/1.31, allocations: 13.12 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/1.31, allocations: 6.875 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.31, allocations: 9.969 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/1.31, allocations: 0.6261 MB / 1.327 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/1.311, allocations: 292.7 kB / 1.328 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.311, allocations: 12.88 kB / 1.328 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/1.311, allocations: 14.84 kB / 1.328 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/1.311, allocations: 41.25 kB / 1.328 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.311, allocations: 16.62 kB / 1.328 GB, free: 11.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001204/1.313, allocations: 1.207 MB / 1.329 GB, free: 11.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.313, allocations: 7.938 kB / 1.329 GB, free: 11.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001182/1.314, allocations: 332.3 kB / 1.329 GB, free: 11.44 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.001503/1.315, allocations: 0.6279 MB / 1.33 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004852/1.316, allocations: 366.6 kB / 1.33 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.316, allocations: 0 / 1.33 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/1.316, allocations: 162.7 kB / 1.33 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.319, allocations: 0.9196 MB / 1.331 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/1.322, allocations: 2.095 MB / 1.333 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/1.323, allocations: 1.197 MB / 1.334 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008488/1.324, allocations: 306.8 kB / 1.335 GB, free: 9.344 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.324, allocations: 81.59 kB / 1.335 GB, free: 9.336 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.324, allocations: 0 / 1.335 GB, free: 9.336 MB / 1.014 GB Notification: Performance of Templates: time 0.0484/1.372, allocations: 30.2 MB / 1.364 GB, free: 14.62 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/jenkins/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