Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001402/0.001402, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001331/0.001331, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 60.12 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8709, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2919/1.163, allocations: 253.3 MB / 1.456 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02828/1.191, allocations: 20.59 MB / 1.476 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/1.194, allocations: 75.44 kB / 1.476 GB, free: 10.65 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/1.197, allocations: 0.8337 MB / 1.477 GB, free: 9.812 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008232/1.205, allocations: 2.91 MB / 1.48 GB, free: 6.891 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007947/1.213, allocations: 2.748 MB / 1.482 GB, free: 4.148 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005765/1.219, allocations: 3.827 MB / 1.486 GB, free: 320 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/1.222, allocations: 1.3 MB / 1.487 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/1.226, allocations: 1.442 MB / 1.489 GB, free: 13.54 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/1.228, allocations: 0.9954 MB / 1.49 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/1.228, allocations: 108 kB / 1.49 GB, free: 12.43 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009875/1.238, allocations: 3.951 MB / 1.494 GB, free: 8.473 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/1.239, allocations: 0.6465 MB / 1.494 GB, free: 7.824 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002538/1.242, allocations: 0.9795 MB / 1.495 GB, free: 6.84 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.009975/1.252, allocations: 4.149 MB / 1.499 GB, free: 2.68 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.252, allocations: 0 / 1.499 GB, free: 2.68 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.635e-06/1.252, allocations: 0 / 1.499 GB, free: 2.68 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001201/1.252, allocations: 0 / 1.499 GB, free: 2.68 MB / 1.217 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.005175/1.257, allocations: 2.295 MB / 1.502 GB, free: 336 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.257, allocations: 8.031 kB / 1.502 GB, free: 328 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/1.26, allocations: 489 kB / 1.502 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/1.263, allocations: 1.38 MB / 1.503 GB, free: 14.41 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/1.263, allocations: 98.42 kB / 1.503 GB, free: 14.31 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/1.263, allocations: 124 kB / 1.504 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/1.267, allocations: 1.708 MB / 1.505 GB, free: 12.34 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/1.267, allocations: 7.938 kB / 1.505 GB, free: 12.33 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/1.267, allocations: 56 kB / 1.505 GB, free: 12.28 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.751e-05/1.267, allocations: 67.91 kB / 1.505 GB, free: 12.21 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/1.269, allocations: 1.221 MB / 1.507 GB, free: 10.99 MB / 1.232 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.01092/1.28, allocations: 7.521 MB / 1.514 GB, free: 3.074 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/1.282, allocations: 0.6655 MB / 1.515 GB, free: 2.316 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000895/1.282, allocations: 0.6147 MB / 1.515 GB, free: 1.672 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/1.284, allocations: 1.867 MB / 1.517 GB, free: 15.4 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/1.285, allocations: 66.47 kB / 1.517 GB, free: 15.32 MB / 1.248 GB Notification: Performance of pre-optimization done (n=72): time 3.526e-06/1.285, allocations: 0 / 1.517 GB, free: 15.32 MB / 1.248 GB Notification: Performance of matching and sorting (n=72): time 0.003068/1.288, allocations: 1.387 MB / 1.518 GB, free: 13.93 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/1.288, allocations: 298.7 kB / 1.519 GB, free: 13.57 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/1.291, allocations: 1.888 MB / 1.521 GB, free: 11.64 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.291, allocations: 37.7 kB / 1.521 GB, free: 11.6 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008046/1.292, allocations: 0.7368 MB / 1.521 GB, free: 10.86 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/1.292, allocations: 244.4 kB / 1.522 GB, free: 10.61 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/1.293, allocations: 130.3 kB / 1.522 GB, free: 10.48 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000256/1.293, allocations: 329.9 kB / 1.522 GB, free: 10.15 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/1.294, allocations: 337.1 kB / 1.522 GB, free: 9.82 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/1.294, allocations: 0.5614 MB / 1.523 GB, free: 9.215 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.295, allocations: 0.8609 MB / 1.524 GB, free: 8.305 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.295, allocations: 7.938 kB / 1.524 GB, free: 8.297 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001919/1.297, allocations: 1.006 MB / 1.525 GB, free: 7.281 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.297, allocations: 9.875 kB / 1.525 GB, free: 7.273 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/1.297, allocations: 7.938 kB / 1.525 GB, free: 7.266 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.297, allocations: 7.984 kB / 1.525 GB, free: 7.258 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/1.298, allocations: 123.8 kB / 1.525 GB, free: 7.137 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/1.298, allocations: 7.938 kB / 1.525 GB, free: 7.129 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/1.299, allocations: 134.5 kB / 1.525 GB, free: 6.996 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.299, allocations: 47.92 kB / 1.525 GB, free: 6.949 MB / 1.248 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.0008497/1.3, allocations: 453.5 kB / 1.525 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/1.3, allocations: 189.7 kB / 1.526 GB, free: 6.309 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/1.302, allocations: 1.076 MB / 1.527 GB, free: 5.223 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/1.302, allocations: 16.27 kB / 1.527 GB, free: 5.207 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.302, allocations: 8 kB / 1.527 GB, free: 5.199 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.302, allocations: 3.984 kB / 1.527 GB, free: 5.195 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.315, allocations: 8.765 MB / 1.535 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/1.315, allocations: 16 kB / 1.535 GB, free: 11.91 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/1.316, allocations: 147.8 kB / 1.535 GB, free: 11.77 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.289e-05/1.316, allocations: 20 kB / 1.535 GB, free: 11.75 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/1.316, allocations: 39.92 kB / 1.535 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-05/1.316, allocations: 31.86 kB / 1.535 GB, free: 11.68 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/1.316, allocations: 23.94 kB / 1.535 GB, free: 11.66 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.318, allocations: 1.679 MB / 1.537 GB, free: 9.758 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008237/1.319, allocations: 414.4 kB / 1.538 GB, free: 9.332 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/1.319, allocations: 35.98 kB / 1.538 GB, free: 9.297 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/1.32, allocations: 24 kB / 1.538 GB, free: 9.273 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.32, allocations: 107.5 kB / 1.538 GB, free: 9.168 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/1.32, allocations: 55.98 kB / 1.538 GB, free: 9.113 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002367/1.323, allocations: 1.316 MB / 1.539 GB, free: 7.777 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.31e-07/1.323, allocations: 0 / 1.539 GB, free: 7.777 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00215/1.325, allocations: 0.5191 MB / 1.54 GB, free: 7.258 MB / 1.264 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.002601/1.327, allocations: 0.9203 MB / 1.54 GB, free: 6.328 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001419/1.329, allocations: 0.8482 MB / 1.541 GB, free: 5.484 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.329, allocations: 4 kB / 1.541 GB, free: 5.48 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/1.33, allocations: 487.5 kB / 1.542 GB, free: 5.008 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006803/1.337, allocations: 1.348 MB / 1.543 GB, free: 3.699 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/1.343, allocations: 3.29 MB / 1.546 GB, free: 168 kB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/1.344, allocations: 1.402 MB / 1.548 GB, free: 14.73 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/1.345, allocations: 119.4 kB / 1.548 GB, free: 14.61 MB / 1.279 GB Notification: Performance of SimCode: time 7.31e-07/1.345, allocations: 0 / 1.548 GB, free: 14.61 MB / 1.279 GB Notification: Performance of Templates: time 0.7288/2.074, allocations: 35.37 MB / 1.582 GB, free: 339.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches