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: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, 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.001286/0.001286, allocations: 195 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7452 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 63.02 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3322, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.8687/1.201, allocations: 214.1 MB / 1.277 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01657/1.218, allocations: 12.17 MB / 1.289 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/1.221, allocations: 43.25 kB / 1.289 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/1.222, allocations: 0.5007 MB / 1.29 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005959/1.228, allocations: 1.879 MB / 1.292 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006425/1.235, allocations: 1.9 MB / 1.293 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004712/1.239, allocations: 2.35 MB / 1.296 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/1.242, allocations: 1.236 MB / 1.297 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/1.245, allocations: 0.8194 MB / 1.298 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/1.247, allocations: 0.659 MB / 1.298 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005388/1.247, allocations: 90.44 kB / 1.298 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.258, allocations: 2.846 MB / 1.301 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/1.259, allocations: 0.5441 MB / 1.302 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002988/1.262, allocations: 0.7321 MB / 1.302 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009719/1.272, allocations: 3.14 MB / 1.305 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/1.272, allocations: 1.219 kB / 1.305 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/1.272, allocations: 0.875 kB / 1.305 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001129/1.272, allocations: 0 / 1.305 GB, free: 4.746 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.006993/1.279, allocations: 1.747 MB / 1.307 GB, free: 19.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.279, allocations: 11.22 kB / 1.307 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/1.282, allocations: 371.1 kB / 1.308 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/1.284, allocations: 0.8971 MB / 1.308 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/1.284, allocations: 76.84 kB / 1.309 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/1.285, allocations: 102.2 kB / 1.309 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/1.288, allocations: 1.532 MB / 1.31 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.288, allocations: 5.969 kB / 1.31 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/1.288, allocations: 48.34 kB / 1.31 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/1.288, allocations: 66.06 kB / 1.31 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/1.29, allocations: 1.024 MB / 1.311 GB, free: 19.07 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.009481/1.3, allocations: 5.962 MB / 1.317 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/1.3, allocations: 325.7 kB / 1.317 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/1.301, allocations: 249.5 kB / 1.318 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008759/1.302, allocations: 0.7114 MB / 1.318 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.302, allocations: 38.84 kB / 1.318 GB, free: 14.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.437e-06/1.302, allocations: 0 / 1.318 GB, free: 14.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001743/1.303, allocations: 0.6722 MB / 1.319 GB, free: 14.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/1.304, allocations: 133.6 kB / 1.319 GB, free: 14.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/1.307, allocations: 1.683 MB / 1.321 GB, free: 14.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/1.307, allocations: 31.2 kB / 1.321 GB, free: 14.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/1.307, allocations: 0.5585 MB / 1.321 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.308, allocations: 96.58 kB / 1.321 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/1.308, allocations: 65.39 kB / 1.321 GB, free: 14.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.308, allocations: 317 kB / 1.322 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/1.308, allocations: 158.2 kB / 1.322 GB, free: 13.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/1.308, allocations: 269.4 kB / 1.322 GB, free: 13.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/1.309, allocations: 414.4 kB / 1.323 GB, free: 13.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.309, allocations: 0 / 1.323 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001023/1.31, allocations: 0.5455 MB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.31, allocations: 6.906 kB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.31, allocations: 2.625 kB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.31, allocations: 4.688 kB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/1.31, allocations: 56.88 kB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.31, allocations: 3.531 kB / 1.323 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/1.311, allocations: 106.5 kB / 1.323 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/1.311, allocations: 25.67 kB / 1.323 GB, free: 13.39 MB / 1.014 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.0006173/1.312, allocations: 384.8 kB / 1.324 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.312, allocations: 139.8 kB / 1.324 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/1.313, allocations: 381.3 kB / 1.324 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/1.313, allocations: 5.531 kB / 1.324 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.313, allocations: 3.938 kB / 1.324 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.313, allocations: 7.719 kB / 1.324 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/1.318, allocations: 2.613 MB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.318, allocations: 9.125 kB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.318, allocations: 48.59 kB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.318, allocations: 7.625 kB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/1.318, allocations: 11.97 kB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.318, allocations: 10.81 kB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.318, allocations: 13.19 kB / 1.327 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/1.319, allocations: 0.6168 MB / 1.327 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007679/1.32, allocations: 293.3 kB / 1.328 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/1.32, allocations: 20.41 kB / 1.328 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/1.32, allocations: 13.88 kB / 1.328 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/1.321, allocations: 39.06 kB / 1.328 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/1.321, allocations: 13.69 kB / 1.328 GB, free: 11.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001773/1.322, allocations: 1.228 MB / 1.329 GB, free: 11.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.322, allocations: 2.844 kB / 1.329 GB, free: 11.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001696/1.324, allocations: 334.2 kB / 1.329 GB, free: 11.42 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.002368/1.326, allocations: 0.6266 MB / 1.33 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000607/1.327, allocations: 346.6 kB / 1.33 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.327, allocations: 0 / 1.33 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/1.327, allocations: 164.6 kB / 1.33 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.332, allocations: 0.9259 MB / 1.331 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/1.336, allocations: 2.143 MB / 1.333 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.337, allocations: 1.204 MB / 1.335 GB, free: 9.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001357/1.338, allocations: 300.4 kB / 1.335 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.338, allocations: 82.12 kB / 1.335 GB, free: 9.297 MB / 1.014 GB Notification: Performance of SimCode: time 1.323e-06/1.338, allocations: 4 kB / 1.335 GB, free: 9.293 MB / 1.014 GB Notification: Performance of Templates: time 0.05471/1.393, allocations: 30.29 MB / 1.365 GB, free: 14.52 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/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