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.006989/0.006989, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001435/0.001435, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.386/2.386, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.73 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2907, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.963/1.254, allocations: 253.3 MB / 1.335 GB, free: 3.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0248/1.279, allocations: 20.59 MB / 1.355 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/1.281, allocations: 73.66 kB / 1.355 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/1.284, allocations: 0.8388 MB / 1.356 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007361/1.291, allocations: 3.04 MB / 1.359 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008383/1.299, allocations: 2.814 MB / 1.362 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006702/1.306, allocations: 3.837 MB / 1.366 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/1.309, allocations: 1.301 MB / 1.367 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/1.312, allocations: 1.449 MB / 1.368 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/1.314, allocations: 0.9886 MB / 1.369 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/1.315, allocations: 110.2 kB / 1.37 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00982/1.324, allocations: 3.968 MB / 1.373 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009485/1.325, allocations: 0.6489 MB / 1.374 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/1.328, allocations: 0.9815 MB / 1.375 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009924/1.338, allocations: 4.157 MB / 1.379 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.338, allocations: 4.359 kB / 1.379 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.734e-06/1.338, allocations: 0 / 1.379 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001297/1.338, allocations: 0 / 1.379 GB, free: 10.36 MB / 1.029 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.004603/1.343, allocations: 2.367 MB / 1.381 GB, free: 8.805 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.343, allocations: 10.19 kB / 1.381 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/1.345, allocations: 492.9 kB / 1.382 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/1.347, allocations: 1.385 MB / 1.383 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/1.347, allocations: 96.39 kB / 1.383 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.348, allocations: 128.9 kB / 1.383 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/1.35, allocations: 1.725 MB / 1.385 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.35, allocations: 6.125 kB / 1.385 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.35, allocations: 49.03 kB / 1.385 GB, free: 6.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/1.35, allocations: 66.78 kB / 1.385 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/1.352, allocations: 1.219 MB / 1.386 GB, free: 6.555 MB / 1.029 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.006997/1.359, allocations: 7.553 MB / 1.394 GB, free: 484 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/1.359, allocations: 0.6622 MB / 1.394 GB, free: 0 / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/1.36, allocations: 0.6176 MB / 1.395 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/1.362, allocations: 1.87 MB / 1.397 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.362, allocations: 54.05 kB / 1.397 GB, free: 13.46 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/1.362, allocations: 0 / 1.397 GB, free: 13.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=72): time 0.002178/1.364, allocations: 1.413 MB / 1.398 GB, free: 12.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.364, allocations: 295.8 kB / 1.399 GB, free: 12.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.366, allocations: 1.884 MB / 1.4 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/1.366, allocations: 42.7 kB / 1.4 GB, free: 11.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/1.367, allocations: 0.7298 MB / 1.401 GB, free: 10.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/1.367, allocations: 257.5 kB / 1.401 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/1.367, allocations: 132.6 kB / 1.402 GB, free: 10.45 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.367, allocations: 331.5 kB / 1.402 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/1.368, allocations: 327.7 kB / 1.402 GB, free: 9.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/1.368, allocations: 0.5617 MB / 1.403 GB, free: 9.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/1.369, allocations: 0.8571 MB / 1.404 GB, free: 9.121 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.369, allocations: 2.562 kB / 1.404 GB, free: 9.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001226/1.371, allocations: 1.024 MB / 1.405 GB, free: 8.621 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.371, allocations: 10.97 kB / 1.405 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.371, allocations: 3.219 kB / 1.405 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.371, allocations: 5.406 kB / 1.405 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/1.371, allocations: 121.6 kB / 1.405 GB, free: 8.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.371, allocations: 9.938 kB / 1.405 GB, free: 8.602 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/1.372, allocations: 134.7 kB / 1.405 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/1.372, allocations: 46.7 kB / 1.405 GB, free: 8.488 MB / 1.045 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.0005021/1.372, allocations: 451.4 kB / 1.405 GB, free: 8.188 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/1.373, allocations: 210.8 kB / 1.405 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.374, allocations: 1.087 MB / 1.407 GB, free: 7.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.374, allocations: 11.03 kB / 1.407 GB, free: 7.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.374, allocations: 6.484 kB / 1.407 GB, free: 7.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.374, allocations: 5.797 kB / 1.407 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.385, allocations: 8.765 MB / 1.415 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/1.385, allocations: 14.66 kB / 1.415 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/1.386, allocations: 150.5 kB / 1.415 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/1.386, allocations: 18.88 kB / 1.415 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/1.386, allocations: 34.72 kB / 1.415 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-05/1.386, allocations: 30.45 kB / 1.415 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/1.386, allocations: 20.97 kB / 1.415 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/1.388, allocations: 1.685 MB / 1.417 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008753/1.389, allocations: 421.5 kB / 1.417 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.389, allocations: 37.48 kB / 1.417 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/1.39, allocations: 27.44 kB / 1.417 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.39, allocations: 109.5 kB / 1.418 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/1.39, allocations: 53.06 kB / 1.418 GB, free: 15.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001974/1.392, allocations: 1.319 MB / 1.419 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.392, allocations: 4 kB / 1.419 GB, free: 14.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001917/1.394, allocations: 0.5145 MB / 1.419 GB, free: 13.9 MB / 1.061 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.002081/1.396, allocations: 0.9316 MB / 1.42 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.397, allocations: 0.8618 MB / 1.421 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.397, allocations: 4 kB / 1.421 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006367/1.398, allocations: 488.5 kB / 1.422 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005584/1.404, allocations: 1.334 MB / 1.423 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/1.408, allocations: 3.27 MB / 1.426 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009919/1.409, allocations: 1.406 MB / 1.428 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001299/1.41, allocations: 490.6 kB / 1.428 GB, free: 5.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/1.411, allocations: 119.4 kB / 1.428 GB, free: 4.949 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/1.411, allocations: 0 / 1.428 GB, free: 4.949 MB / 1.061 GB Notification: Performance of Templates: time 0.06612/1.477, allocations: 42.75 MB / 1.47 GB, free: 10.79 MB / 1.107 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