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.001671/0.001671, allocations: 103 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001866, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9347, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.3069/1.242, allocations: 253.3 MB / 1.336 GB, free: 172 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02895/1.271, allocations: 20.6 MB / 1.356 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/1.274, allocations: 75.44 kB / 1.356 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/1.277, allocations: 0.8299 MB / 1.357 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008328/1.285, allocations: 2.91 MB / 1.36 GB, free: 7.672 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006857/1.292, allocations: 2.753 MB / 1.363 GB, free: 4.926 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005883/1.298, allocations: 3.82 MB / 1.366 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/1.301, allocations: 1.308 MB / 1.368 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/1.304, allocations: 1.442 MB / 1.369 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/1.306, allocations: 0.9838 MB / 1.37 GB, free: 13.33 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004611/1.307, allocations: 108 kB / 1.37 GB, free: 13.22 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009209/1.316, allocations: 3.958 MB / 1.374 GB, free: 9.254 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009859/1.317, allocations: 0.6504 MB / 1.374 GB, free: 8.602 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002031/1.319, allocations: 0.9834 MB / 1.375 GB, free: 7.613 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00874/1.328, allocations: 4.133 MB / 1.379 GB, free: 3.469 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.328, allocations: 8 kB / 1.38 GB, free: 3.461 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.987e-06/1.328, allocations: 3.938 kB / 1.38 GB, free: 3.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001105/1.328, allocations: 3.938 kB / 1.38 GB, free: 3.453 MB / 1.107 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.004558/1.333, allocations: 2.295 MB / 1.382 GB, free: 1.102 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.333, allocations: 8.031 kB / 1.382 GB, free: 1.094 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/1.335, allocations: 481 kB / 1.382 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/1.338, allocations: 1.368 MB / 1.384 GB, free: 15.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.422e-05/1.338, allocations: 94.44 kB / 1.384 GB, free: 15.11 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/1.338, allocations: 124 kB / 1.384 GB, free: 14.98 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/1.341, allocations: 1.723 MB / 1.385 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/1.341, allocations: 3.938 kB / 1.385 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/1.342, allocations: 52 kB / 1.385 GB, free: 13.07 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-05/1.342, allocations: 67.92 kB / 1.386 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.344, allocations: 1.225 MB / 1.387 GB, free: 11.77 MB / 1.123 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.009665/1.353, allocations: 7.525 MB / 1.394 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.354, allocations: 0.6619 MB / 1.395 GB, free: 3.102 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/1.355, allocations: 0.6213 MB / 1.395 GB, free: 2.449 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/1.357, allocations: 1.864 MB / 1.397 GB, free: 184 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.357, allocations: 54.5 kB / 1.397 GB, free: 120 kB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 4.469e-06/1.357, allocations: 0 / 1.397 GB, free: 120 kB / 1.123 GB Notification: Performance of matching and sorting (n=72): time 0.002558/1.359, allocations: 1.399 MB / 1.399 GB, free: 14.71 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.359, allocations: 294.7 kB / 1.399 GB, free: 14.36 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/1.362, allocations: 1.892 MB / 1.401 GB, free: 12.43 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.362, allocations: 37.7 kB / 1.401 GB, free: 12.38 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/1.363, allocations: 0.733 MB / 1.401 GB, free: 11.64 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.363, allocations: 240.5 kB / 1.402 GB, free: 11.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/1.364, allocations: 130.2 kB / 1.402 GB, free: 11.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.364, allocations: 333.9 kB / 1.402 GB, free: 10.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/1.364, allocations: 329.6 kB / 1.402 GB, free: 10.62 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/1.365, allocations: 0.5625 MB / 1.403 GB, free: 10 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.366, allocations: 0.8683 MB / 1.404 GB, free: 9.086 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.366, allocations: 0 / 1.404 GB, free: 9.086 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001657/1.368, allocations: 1.014 MB / 1.405 GB, free: 8.062 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.368, allocations: 4 kB / 1.405 GB, free: 8.059 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.368, allocations: 4 kB / 1.405 GB, free: 8.055 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/1.368, allocations: 8 kB / 1.405 GB, free: 8.047 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/1.368, allocations: 123.8 kB / 1.405 GB, free: 7.926 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.368, allocations: 11.94 kB / 1.405 GB, free: 7.914 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/1.369, allocations: 126.3 kB / 1.405 GB, free: 7.789 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.369, allocations: 47.98 kB / 1.405 GB, free: 7.742 MB / 1.139 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.0007861/1.37, allocations: 461.6 kB / 1.406 GB, free: 7.281 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/1.37, allocations: 189.6 kB / 1.406 GB, free: 7.094 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/1.372, allocations: 1.076 MB / 1.407 GB, free: 6.012 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/1.372, allocations: 11.98 kB / 1.407 GB, free: 6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.372, allocations: 4 kB / 1.407 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.372, allocations: 11.97 kB / 1.407 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/1.384, allocations: 8.756 MB / 1.415 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/1.384, allocations: 16 kB / 1.415 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/1.385, allocations: 139.8 kB / 1.416 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/1.385, allocations: 20.81 kB / 1.416 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/1.385, allocations: 43.92 kB / 1.416 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-05/1.385, allocations: 35.86 kB / 1.416 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/1.385, allocations: 23.88 kB / 1.416 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.387, allocations: 1.672 MB / 1.417 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008505/1.388, allocations: 410.3 kB / 1.418 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/1.388, allocations: 43.92 kB / 1.418 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/1.389, allocations: 28 kB / 1.418 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.389, allocations: 103.5 kB / 1.418 GB, free: 9.957 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.389, allocations: 51.98 kB / 1.418 GB, free: 9.906 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00218/1.391, allocations: 1.32 MB / 1.419 GB, free: 8.566 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.31e-07/1.391, allocations: 0 / 1.419 GB, free: 8.566 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002467/1.394, allocations: 0.5152 MB / 1.42 GB, free: 8.051 MB / 1.154 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.002784/1.397, allocations: 0.9275 MB / 1.421 GB, free: 7.125 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.398, allocations: 0.8574 MB / 1.421 GB, free: 6.266 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.398, allocations: 0 / 1.421 GB, free: 6.266 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007038/1.399, allocations: 490.1 kB / 1.422 GB, free: 5.789 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/1.406, allocations: 1.346 MB / 1.423 GB, free: 4.48 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/1.412, allocations: 3.285 MB / 1.426 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/1.413, allocations: 1.402 MB / 1.428 GB, free: 15.52 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/1.414, allocations: 123.4 kB / 1.428 GB, free: 15.4 MB / 1.17 GB Notification: Performance of SimCode: time 1.583e-06/1.414, allocations: 0 / 1.428 GB, free: 15.4 MB / 1.17 GB Notification: Performance of Templates: time 0.05336/1.467, allocations: 35.37 MB / 1.462 GB, free: 12.3 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches