Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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.001126/0.001126, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001242/0.001242, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8665/0.8665, allocations: 177.1 MB / 203.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.689/1.689, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Sources.Validation.Boundary") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.405e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.6929/0.6929, allocations: 225 MB / 1.202 GB, free: 10.25 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.7143, allocations: 19.02 MB / 1.22 GB, free: 13.26 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.7172, allocations: 106.5 kB / 1.221 GB, free: 13.2 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.7192, allocations: 0.8783 MB / 1.221 GB, free: 12.59 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.007418/0.7266, allocations: 3.038 MB / 1.224 GB, free: 10.52 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.006534/0.7331, allocations: 2.962 MB / 1.227 GB, free: 8.312 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.7374, allocations: 3.847 MB / 1.231 GB, free: 6 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009729/0.7384, allocations: 0.9119 MB / 1.232 GB, free: 5.352 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009265/0.7476, allocations: 5.549 MB / 1.237 GB, free: 1.875 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.7489, allocations: 0.8861 MB / 1.238 GB, free: 1.402 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.749, allocations: 107.2 kB / 1.238 GB, free: 1.402 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.7548, allocations: 2.938 MB / 1.241 GB, free: 15.75 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.7553, allocations: 0.6881 MB / 1.242 GB, free: 15.3 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.7559, allocations: 0.6336 MB / 1.242 GB, free: 15.02 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.7599, allocations: 4.21 MB / 1.247 GB, free: 12.05 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7599, allocations: 0 / 1.247 GB, free: 12.05 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7599, allocations: 4 kB / 1.247 GB, free: 12.04 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.76, allocations: 0 / 1.247 GB, free: 12.04 MB / 1.073 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.001995/0.762, allocations: 2.259 MB / 1.249 GB, free: 9.742 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.762, allocations: 12.03 kB / 1.249 GB, free: 9.73 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7632, allocations: 498.1 kB / 1.249 GB, free: 9.242 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.7646, allocations: 1.309 MB / 1.251 GB, free: 7.887 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.7646, allocations: 90.44 kB / 1.251 GB, free: 7.797 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.7648, allocations: 128 kB / 1.251 GB, free: 7.672 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.7663, allocations: 1.719 MB / 1.252 GB, free: 5.812 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.7663, allocations: 7.938 kB / 1.252 GB, free: 5.805 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.7664, allocations: 52 kB / 1.253 GB, free: 5.754 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.7664, allocations: 59.98 kB / 1.253 GB, free: 5.695 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.7677, allocations: 1.23 MB / 1.254 GB, free: 4.473 MB / 1.073 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.003704/0.7714, allocations: 5.81 MB / 1.259 GB, free: 14.51 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.772, allocations: 0.6274 MB / 1.26 GB, free: 13.79 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.7724, allocations: 0.5939 MB / 1.261 GB, free: 13.17 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.7729, allocations: 235.8 kB / 1.261 GB, free: 12.94 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.7729, allocations: 57.69 kB / 1.261 GB, free: 12.88 MB / 1.089 GB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.7729, allocations: 4 kB / 1.261 GB, free: 12.87 MB / 1.089 GB Notification: Performance of matching and sorting (n=72): time 0.00142/0.7743, allocations: 1.338 MB / 1.262 GB, free: 11.53 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.7745, allocations: 302.7 kB / 1.263 GB, free: 11.17 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.7753, allocations: 1.006 MB / 1.263 GB, free: 10.16 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.7753, allocations: 37.7 kB / 1.264 GB, free: 10.11 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.7757, allocations: 0.7639 MB / 1.264 GB, free: 9.344 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7758, allocations: 245.8 kB / 1.265 GB, free: 9.102 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.7759, allocations: 134.3 kB / 1.265 GB, free: 8.961 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.776, allocations: 334 kB / 1.265 GB, free: 8.629 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.7763, allocations: 325.1 kB / 1.265 GB, free: 8.312 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.7769, allocations: 0.9892 MB / 1.266 GB, free: 7.168 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.7776, allocations: 0.8608 MB / 1.267 GB, free: 6.258 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7776, allocations: 4 kB / 1.267 GB, free: 6.254 MB / 1.089 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008362/0.7784, allocations: 0.9688 MB / 1.268 GB, free: 5.277 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7784, allocations: 4 kB / 1.268 GB, free: 5.273 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7784, allocations: 5.125 kB / 1.268 GB, free: 5.27 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7785, allocations: 8 kB / 1.268 GB, free: 5.262 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.7787, allocations: 123.8 kB / 1.268 GB, free: 5.141 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7787, allocations: 11.94 kB / 1.268 GB, free: 5.129 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.7789, allocations: 55.59 kB / 1.268 GB, free: 5.074 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.779, allocations: 43.98 kB / 1.268 GB, free: 5.031 MB / 1.089 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.000408/0.7794, allocations: 449.6 kB / 1.269 GB, free: 4.582 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.7796, allocations: 151.1 kB / 1.269 GB, free: 4.434 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.7807, allocations: 1.032 MB / 1.27 GB, free: 3.395 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.7807, allocations: 20 kB / 1.27 GB, free: 3.375 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.7807, allocations: 0 / 1.27 GB, free: 3.375 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.7807, allocations: 11.73 kB / 1.27 GB, free: 3.367 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006786/0.7875, allocations: 7.567 MB / 1.277 GB, free: 11.55 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.7875, allocations: 16 kB / 1.277 GB, free: 11.54 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.7877, allocations: 147.7 kB / 1.277 GB, free: 11.39 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.7878, allocations: 20.62 kB / 1.277 GB, free: 11.37 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.7878, allocations: 36.72 kB / 1.277 GB, free: 11.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.7878, allocations: 31.92 kB / 1.278 GB, free: 11.3 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.7878, allocations: 23.97 kB / 1.278 GB, free: 11.28 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.7889, allocations: 1.608 MB / 1.279 GB, free: 9.457 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.7892, allocations: 250.8 kB / 1.279 GB, free: 9.211 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.7893, allocations: 39.98 kB / 1.279 GB, free: 9.172 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.7895, allocations: 24 kB / 1.279 GB, free: 9.148 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.7896, allocations: 107.5 kB / 1.279 GB, free: 9.043 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.7896, allocations: 52 kB / 1.28 GB, free: 8.992 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0005336/0.7902, allocations: 0.6966 MB / 1.28 GB, free: 8.293 MB / 1.104 GB Notification: Performance of sort global known variables: time 5e-08/0.7902, allocations: 0 / 1.28 GB, free: 8.293 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.001214/0.7914, allocations: 0.5878 MB / 1.281 GB, free: 7.703 MB / 1.104 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.001292/0.7927, allocations: 0.9484 MB / 1.282 GB, free: 6.746 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.000764/0.7934, allocations: 0.8403 MB / 1.283 GB, free: 5.906 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.7934, allocations: 0 / 1.283 GB, free: 5.906 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.7938, allocations: 479.3 kB / 1.283 GB, free: 5.441 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.7961, allocations: 0.8311 MB / 1.284 GB, free: 4.645 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.7989, allocations: 3.177 MB / 1.287 GB, free: 1.219 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.7995, allocations: 0.8069 MB / 1.288 GB, free: 384 kB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.7996, allocations: 100.5 kB / 1.288 GB, free: 284 kB / 1.104 GB Notification: Performance of SimCode: time 9.02e-07/0.7996, allocations: 3.938 kB / 1.288 GB, free: 280 kB / 1.104 GB Notification: Performance of Templates: time 0.02399/0.8236, allocations: 28.87 MB / 1.316 GB, free: 3.625 MB / 1.135 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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: 14.239864777773619]