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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001466/0.001466, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.001682/0.001682, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.16 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2876, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7828/1.07, allocations: 253.3 MB / 1.199 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02574/1.096, allocations: 20.58 MB / 1.219 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/1.099, allocations: 70.78 kB / 1.219 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/1.101, allocations: 0.8378 MB / 1.219 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007784/1.109, allocations: 2.91 MB / 1.222 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00658/1.116, allocations: 2.757 MB / 1.225 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005299/1.121, allocations: 3.812 MB / 1.229 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/1.123, allocations: 1.306 MB / 1.23 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/1.126, allocations: 1.425 MB / 1.231 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/1.127, allocations: 0.9984 MB / 1.232 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/1.128, allocations: 107.6 kB / 1.232 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008154/1.136, allocations: 3.945 MB / 1.236 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007346/1.137, allocations: 0.6487 MB / 1.237 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/1.138, allocations: 0.9855 MB / 1.238 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007727/1.146, allocations: 4.144 MB / 1.242 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.146, allocations: 0 / 1.242 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.096e-06/1.146, allocations: 2.094 kB / 1.242 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.409e-05/1.146, allocations: 0 / 1.242 GB, free: 3.008 MB / 0.9044 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.003142/1.149, allocations: 2.299 MB / 1.244 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.149, allocations: 7.688 kB / 1.244 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.151, allocations: 480.9 kB / 1.245 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/1.153, allocations: 1.381 MB / 1.246 GB, free: 4 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/1.153, allocations: 95.42 kB / 1.246 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.153, allocations: 127.2 kB / 1.246 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/1.156, allocations: 1.717 MB / 1.248 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.156, allocations: 6.406 kB / 1.248 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/1.156, allocations: 52.56 kB / 1.248 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.13e-05/1.156, allocations: 64.59 kB / 1.248 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/1.158, allocations: 1.221 MB / 1.249 GB, free: 14.11 MB / 0.92 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.007392/1.165, allocations: 7.53 MB / 1.257 GB, free: 6.891 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/1.166, allocations: 0.6668 MB / 1.257 GB, free: 6.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/1.167, allocations: 0.6174 MB / 1.258 GB, free: 5.484 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.168, allocations: 1.861 MB / 1.26 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.168, allocations: 54.48 kB / 1.26 GB, free: 3.156 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 3.226e-06/1.168, allocations: 0 / 1.26 GB, free: 3.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.002347/1.171, allocations: 1.395 MB / 1.261 GB, free: 1.754 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.171, allocations: 294.7 kB / 1.261 GB, free: 1.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/1.173, allocations: 1.888 MB / 1.263 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/1.173, allocations: 41.7 kB / 1.263 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/1.174, allocations: 0.7291 MB / 1.264 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/1.174, allocations: 244.3 kB / 1.264 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.174, allocations: 142.2 kB / 1.264 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.174, allocations: 329.8 kB / 1.265 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/1.175, allocations: 333.1 kB / 1.265 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/1.175, allocations: 0.5664 MB / 1.266 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.176, allocations: 0.8569 MB / 1.266 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.176, allocations: 4.5 kB / 1.266 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001452/1.178, allocations: 1.006 MB / 1.267 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.178, allocations: 16.06 kB / 1.267 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.178, allocations: 4 kB / 1.267 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.178, allocations: 4 kB / 1.267 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/1.178, allocations: 131.8 kB / 1.267 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.178, allocations: 4 kB / 1.268 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/1.179, allocations: 122.4 kB / 1.268 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/1.179, allocations: 47.98 kB / 1.268 GB, free: 10.78 MB / 0.9356 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.000646/1.18, allocations: 460.9 kB / 1.268 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/1.18, allocations: 201.6 kB / 1.268 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/1.182, allocations: 1.076 MB / 1.269 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.182, allocations: 12 kB / 1.269 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/1.182, allocations: 4 kB / 1.269 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.182, allocations: 3.984 kB / 1.269 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.193, allocations: 8.765 MB / 1.278 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.193, allocations: 16.09 kB / 1.278 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/1.194, allocations: 147.6 kB / 1.278 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.194, allocations: 20 kB / 1.278 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/1.194, allocations: 32 kB / 1.278 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-05/1.194, allocations: 31.86 kB / 1.278 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-05/1.194, allocations: 27.88 kB / 1.278 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/1.196, allocations: 1.668 MB / 1.28 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/1.196, allocations: 414.3 kB / 1.28 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.197, allocations: 39.92 kB / 1.28 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/1.197, allocations: 24 kB / 1.28 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.197, allocations: 103.5 kB / 1.28 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/1.197, allocations: 56 kB / 1.28 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001685/1.199, allocations: 1.32 MB / 1.282 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.51e-07/1.199, allocations: 0 / 1.282 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001685/1.201, allocations: 0.5112 MB / 1.282 GB, free: 11.09 MB / 0.9512 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.00207/1.203, allocations: 0.9277 MB / 1.283 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001241/1.204, allocations: 0.8521 MB / 1.284 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.204, allocations: 4 kB / 1.284 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006228/1.205, allocations: 487.4 kB / 1.284 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/1.21, allocations: 1.348 MB / 1.286 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/1.214, allocations: 3.226 MB / 1.289 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/1.215, allocations: 1.402 MB / 1.29 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001443/1.217, allocations: 486.6 kB / 1.291 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.217, allocations: 119.4 kB / 1.291 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/1.217, allocations: 0 / 1.291 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of Templates: time 0.06425/1.281, allocations: 42.46 MB / 1.332 GB, free: 8.062 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 -s gbode -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