Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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_9_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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_9_Buildings.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 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.00116/0.00116, allocations: 197.7 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 55.91 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.7001, allocations: 140.4 MB / 0.9496 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2727/0.9728, allocations: 253.3 MB / 1.197 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02811/1.001, allocations: 20.59 MB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/1.004, allocations: 83.38 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/1.006, allocations: 0.8298 MB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007309/1.014, allocations: 2.912 MB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006299/1.02, allocations: 2.735 MB / 1.223 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005547/1.026, allocations: 3.82 MB / 1.227 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/1.028, allocations: 1.312 MB / 1.228 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/1.031, allocations: 1.413 MB / 1.23 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.033, allocations: 0.9915 MB / 1.231 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004065/1.034, allocations: 108 kB / 1.231 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009081/1.043, allocations: 4.185 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008837/1.044, allocations: 0.6465 MB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/1.046, allocations: 0.9756 MB / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007735/1.053, allocations: 4.208 MB / 1.241 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.053, allocations: 0 / 1.241 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.878e-06/1.053, allocations: 0 / 1.241 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.71e-05/1.054, allocations: 3.938 kB / 1.241 GB, free: 6.672 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003854/1.057, allocations: 2.287 MB / 1.243 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.057, allocations: 8.031 kB / 1.243 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/1.06, allocations: 489 kB / 1.243 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/1.062, allocations: 1.259 MB / 1.245 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/1.062, allocations: 94.44 kB / 1.245 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/1.062, allocations: 128 kB / 1.245 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/1.064, allocations: 1.719 MB / 1.247 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/1.064, allocations: 7.922 kB / 1.247 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/1.065, allocations: 48 kB / 1.247 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/1.065, allocations: 63.92 kB / 1.247 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5464/1.611, allocations: 1.221 MB / 1.248 GB, free: 287.4 MB / 0.9981 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.009387/1.62, allocations: 7.578 MB / 1.255 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/1.622, allocations: 0.6592 MB / 1.256 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/1.623, allocations: 0.6143 MB / 1.256 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/1.624, allocations: 1.872 MB / 1.258 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.624, allocations: 56.75 kB / 1.258 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/1.624, allocations: 0 / 1.258 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002835/1.627, allocations: 1.389 MB / 1.26 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.627, allocations: 298.9 kB / 1.26 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/1.63, allocations: 1.894 MB / 1.262 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/1.63, allocations: 39.27 kB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/1.631, allocations: 0.7293 MB / 1.263 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/1.631, allocations: 246.7 kB / 1.263 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/1.632, allocations: 131 kB / 1.263 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/1.632, allocations: 329.3 kB / 1.263 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/1.632, allocations: 329 kB / 1.264 GB, free: 276 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/1.633, allocations: 0.5628 MB / 1.264 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.634, allocations: 0.8681 MB / 1.265 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.634, allocations: 1.281 kB / 1.265 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001631/1.636, allocations: 1.009 MB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.636, allocations: 6.906 kB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.636, allocations: 3.75 kB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/1.636, allocations: 7.062 kB / 1.266 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.637, allocations: 121.1 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.637, allocations: 17.05 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/1.638, allocations: 126.7 kB / 1.266 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/1.638, allocations: 46.58 kB / 1.266 GB, free: 274.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0006831/1.638, allocations: 458.1 kB / 1.267 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/1.639, allocations: 190.6 kB / 1.267 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/1.64, allocations: 1.08 MB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.64, allocations: 10.41 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.64, allocations: 2.094 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.64, allocations: 14.2 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.652, allocations: 8.936 MB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.652, allocations: 17.55 kB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/1.652, allocations: 148.8 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.76e-05/1.652, allocations: 23.44 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/1.652, allocations: 38.36 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.739e-05/1.652, allocations: 30.94 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/1.652, allocations: 24.7 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.654, allocations: 1.669 MB / 1.279 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00073/1.655, allocations: 420.2 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/1.655, allocations: 35.05 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/1.656, allocations: 27.22 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/1.656, allocations: 105.2 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/1.656, allocations: 56.58 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001833/1.658, allocations: 1.316 MB / 1.281 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.658, allocations: 3.938 kB / 1.281 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002193/1.66, allocations: 0.5294 MB / 1.281 GB, free: 264.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002538/1.663, allocations: 0.9579 MB / 1.282 GB, free: 264.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.664, allocations: 0.8551 MB / 1.283 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.664, allocations: 4.156 kB / 1.283 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/1.665, allocations: 483.2 kB / 1.283 GB, free: 263.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.671, allocations: 1.338 MB / 1.285 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/1.675, allocations: 3.275 MB / 1.288 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/1.676, allocations: 1.407 MB / 1.289 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001704/1.678, allocations: 487.8 kB / 1.29 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/1.678, allocations: 122.2 kB / 1.29 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.203e-06/1.678, allocations: 0 / 1.29 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05871/1.737, allocations: 43.8 MB / 1.333 GB, free: 218.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches