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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 218.1 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.011/3.011, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.3 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2325/0.5412, allocations: 218.4 MB / 1.567 GB, free: 12.84 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.5564, allocations: 12.28 MB / 1.579 GB, free: 0.5156 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.5577, allocations: 63.38 kB / 1.579 GB, free: 464 kB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.5589, allocations: 0.5197 MB / 1.58 GB, free: 15.93 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.5633, allocations: 1.988 MB / 1.582 GB, free: 13.93 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.5676, allocations: 2.017 MB / 1.584 GB, free: 11.92 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003109/0.5707, allocations: 2.395 MB / 1.586 GB, free: 9.516 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.572, allocations: 0.8657 MB / 1.587 GB, free: 8.629 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006208/0.5782, allocations: 3.139 MB / 1.59 GB, free: 5.48 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.5793, allocations: 0.6924 MB / 1.591 GB, free: 4.785 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.5794, allocations: 92 kB / 1.591 GB, free: 4.695 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.5842, allocations: 2.655 MB / 1.593 GB, free: 2.035 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005631/0.5848, allocations: 0.557 MB / 1.594 GB, free: 1.477 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0008158/0.5856, allocations: 0.7347 MB / 1.595 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.5906, allocations: 3.13 MB / 1.598 GB, free: 13.6 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5906, allocations: 0 / 1.598 GB, free: 13.6 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5906, allocations: 0 / 1.598 GB, free: 13.6 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.5906, allocations: 0 / 1.598 GB, free: 13.6 MB / 1.295 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.002323/0.5929, allocations: 1.713 MB / 1.599 GB, free: 11.84 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.593, allocations: 12.03 kB / 1.599 GB, free: 11.83 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.5945, allocations: 378.7 kB / 1.6 GB, free: 11.46 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.5961, allocations: 0.9023 MB / 1.601 GB, free: 10.53 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.5962, allocations: 82.06 kB / 1.601 GB, free: 10.45 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.5963, allocations: 100 kB / 1.601 GB, free: 10.35 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.5984, allocations: 1.533 MB / 1.602 GB, free: 8.703 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.5984, allocations: 3.938 kB / 1.602 GB, free: 8.699 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.5985, allocations: 55.98 kB / 1.602 GB, free: 8.645 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.941e-05/0.5986, allocations: 61.58 kB / 1.602 GB, free: 8.586 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.6, allocations: 1.021 MB / 1.603 GB, free: 7.566 MB / 1.295 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.006025/0.606, allocations: 5.649 MB / 1.609 GB, free: 1.648 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.6065, allocations: 314.3 kB / 1.609 GB, free: 1.305 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.6068, allocations: 243.5 kB / 1.609 GB, free: 1.055 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/0.6073, allocations: 115.9 kB / 1.61 GB, free: 0.9414 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6073, allocations: 38.5 kB / 1.61 GB, free: 0.8945 MB / 1.295 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.6073, allocations: 0 / 1.61 GB, free: 0.8945 MB / 1.295 GB Notification: Performance of matching and sorting (n=28): time 0.001249/0.6085, allocations: 0.6766 MB / 1.61 GB, free: 216 kB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.6086, allocations: 140.5 kB / 1.61 GB, free: 44 kB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6272/1.236, allocations: 1.678 MB / 1.612 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/1.236, allocations: 35.45 kB / 1.612 GB, free: 257.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/1.236, allocations: 0.5561 MB / 1.613 GB, free: 257.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/1.236, allocations: 102.7 kB / 1.613 GB, free: 257.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.237, allocations: 67.72 kB / 1.613 GB, free: 257.5 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/1.237, allocations: 316.7 kB / 1.613 GB, free: 257.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.237, allocations: 154.8 kB / 1.613 GB, free: 257.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/1.237, allocations: 268.5 kB / 1.613 GB, free: 257 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/1.238, allocations: 405.1 kB / 1.614 GB, free: 256.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.238, allocations: 2 kB / 1.614 GB, free: 256.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009118/1.239, allocations: 0.5547 MB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.239, allocations: 8.406 kB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.239, allocations: 2.844 kB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.239, allocations: 3.875 kB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/1.239, allocations: 53.56 kB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.239, allocations: 8.125 kB / 1.614 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/1.239, allocations: 111.8 kB / 1.615 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/1.239, allocations: 23.81 kB / 1.615 GB, free: 256.7 MB / 1.295 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.0004924/1.24, allocations: 381.1 kB / 1.615 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/1.24, allocations: 148.5 kB / 1.615 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/1.241, allocations: 394.6 kB / 1.615 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.241, allocations: 4.031 kB / 1.616 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.241, allocations: 1.25 kB / 1.616 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.241, allocations: 3.469 kB / 1.616 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/1.244, allocations: 2.348 MB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.244, allocations: 6.062 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.244, allocations: 48.02 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.244, allocations: 8.828 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/1.245, allocations: 12.62 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/1.245, allocations: 13.27 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.245, allocations: 7.375 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/1.245, allocations: 0.6354 MB / 1.619 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/1.246, allocations: 229.8 kB / 1.619 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/1.246, allocations: 14.67 kB / 1.619 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/1.246, allocations: 12.02 kB / 1.619 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/1.246, allocations: 41.98 kB / 1.619 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/1.246, allocations: 24.86 kB / 1.619 GB, free: 254.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001948/1.248, allocations: 1.221 MB / 1.62 GB, free: 253.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.1e-07/1.248, allocations: 0.9375 kB / 1.62 GB, free: 253.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001015/1.249, allocations: 332.8 kB / 1.62 GB, free: 253.8 MB / 1.295 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.001238/1.251, allocations: 0.5888 MB / 1.621 GB, free: 253.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0005718/1.251, allocations: 348.2 kB / 1.621 GB, free: 253.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.251, allocations: 1.312 kB / 1.621 GB, free: 253.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/1.251, allocations: 161.5 kB / 1.621 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/1.255, allocations: 0.9156 MB / 1.622 GB, free: 253.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/1.258, allocations: 2.215 MB / 1.624 GB, free: 252.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/1.258, allocations: 1.207 MB / 1.626 GB, free: 251.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/1.259, allocations: 84.84 kB / 1.626 GB, free: 251.3 MB / 1.295 GB Notification: Performance of SimCode: time 7.82e-07/1.259, allocations: 0 / 1.626 GB, free: 251.3 MB / 1.295 GB Notification: Performance of Templates: time 0.03868/1.297, allocations: 25.05 MB / 1.65 GB, free: 242.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.000721526012057]