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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001863/0.001863, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7451 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.61 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9201/1.238, allocations: 253.3 MB / 1.316 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03082/1.269, allocations: 20.59 MB / 1.336 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00457/1.274, allocations: 75.25 kB / 1.336 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003046/1.277, allocations: 0.8369 MB / 1.337 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009888/1.287, allocations: 2.911 MB / 1.339 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008782/1.295, allocations: 2.731 MB / 1.342 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007112/1.303, allocations: 3.821 MB / 1.346 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/1.306, allocations: 1.308 MB / 1.347 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/1.31, allocations: 1.421 MB / 1.348 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/1.312, allocations: 0.9854 MB / 1.349 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005915/1.313, allocations: 108.8 kB / 1.35 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.014/1.327, allocations: 4.177 MB / 1.354 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002113/1.329, allocations: 0.6563 MB / 1.354 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004456/1.333, allocations: 0.979 MB / 1.355 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/1.347, allocations: 4.204 MB / 1.359 GB, free: 460 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.347, allocations: 0 / 1.359 GB, free: 460 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.347, allocations: 0 / 1.359 GB, free: 460 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001328/1.347, allocations: 0 / 1.359 GB, free: 460 kB / 0.9981 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.005713/1.352, allocations: 2.285 MB / 1.362 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.352, allocations: 12.44 kB / 1.362 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/1.355, allocations: 495.1 kB / 1.362 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/1.358, allocations: 1.254 MB / 1.363 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.358, allocations: 93.09 kB / 1.363 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/1.358, allocations: 127.7 kB / 1.363 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/1.362, allocations: 1.715 MB / 1.365 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/1.362, allocations: 11.5 kB / 1.365 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.362, allocations: 55.64 kB / 1.365 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/1.362, allocations: 67.64 kB / 1.365 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/1.364, allocations: 1.216 MB / 1.366 GB, free: 12.76 MB / 1.014 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.008154/1.372, allocations: 7.58 MB / 1.374 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.373, allocations: 0.6651 MB / 1.375 GB, free: 6.699 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/1.373, allocations: 0.616 MB / 1.375 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/1.375, allocations: 1.868 MB / 1.377 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/1.375, allocations: 50.31 kB / 1.377 GB, free: 4.293 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.868e-06/1.375, allocations: 0 / 1.377 GB, free: 4.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002518/1.378, allocations: 1.394 MB / 1.378 GB, free: 3.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.378, allocations: 307.9 kB / 1.379 GB, free: 3.441 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.381, allocations: 1.888 MB / 1.38 GB, free: 2.688 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/1.381, allocations: 46.98 kB / 1.381 GB, free: 2.641 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/1.381, allocations: 0.7204 MB / 1.381 GB, free: 2.004 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/1.382, allocations: 244.4 kB / 1.381 GB, free: 1.797 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.382, allocations: 136.2 kB / 1.382 GB, free: 1.723 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.382, allocations: 338.6 kB / 1.382 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/1.383, allocations: 323.7 kB / 1.382 GB, free: 1.238 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/1.383, allocations: 0.5613 MB / 1.383 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.384, allocations: 0.8642 MB / 1.384 GB, free: 396 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.384, allocations: 0 / 1.384 GB, free: 396 kB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001673/1.386, allocations: 1.013 MB / 1.385 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.386, allocations: 6.469 kB / 1.385 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.386, allocations: 2.406 kB / 1.385 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/1.386, allocations: 11.91 kB / 1.385 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/1.387, allocations: 122.7 kB / 1.385 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/1.387, allocations: 19.09 kB / 1.385 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009573/1.388, allocations: 122.5 kB / 1.385 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.388, allocations: 41.73 kB / 1.385 GB, free: 15.77 MB / 1.029 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.000695/1.388, allocations: 459.4 kB / 1.385 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/1.389, allocations: 188 kB / 1.386 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/1.391, allocations: 1.088 MB / 1.387 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/1.391, allocations: 10.66 kB / 1.387 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.391, allocations: 6.188 kB / 1.387 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.391, allocations: 7.016 kB / 1.387 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.404, allocations: 8.932 MB / 1.395 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.621e-05/1.404, allocations: 13.56 kB / 1.395 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/1.404, allocations: 149.4 kB / 1.396 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/1.404, allocations: 25.03 kB / 1.396 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/1.404, allocations: 42.95 kB / 1.396 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/1.404, allocations: 30.64 kB / 1.396 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/1.404, allocations: 27.53 kB / 1.396 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/1.407, allocations: 1.667 MB / 1.397 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/1.407, allocations: 418.3 kB / 1.398 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/1.408, allocations: 32.42 kB / 1.398 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009558/1.409, allocations: 24.91 kB / 1.398 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.409, allocations: 107.7 kB / 1.398 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/1.409, allocations: 53.61 kB / 1.398 GB, free: 6.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002277/1.411, allocations: 1.316 MB / 1.399 GB, free: 6.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.483e-06/1.411, allocations: 0 / 1.399 GB, free: 6.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002424/1.414, allocations: 0.5343 MB / 1.4 GB, free: 5.895 MB / 1.029 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.003055/1.417, allocations: 0.9511 MB / 1.401 GB, free: 5.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.418, allocations: 0.854 MB / 1.401 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/1.418, allocations: 2.719 kB / 1.401 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007082/1.419, allocations: 489 kB / 1.402 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006687/1.426, allocations: 1.359 MB / 1.403 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/1.431, allocations: 3.272 MB / 1.406 GB, free: 1.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.432, allocations: 1.406 MB / 1.408 GB, free: 388 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001845/1.434, allocations: 486.6 kB / 1.408 GB, free: 15.9 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/1.435, allocations: 123.4 kB / 1.408 GB, free: 15.78 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/1.435, allocations: 0 / 1.408 GB, free: 15.78 MB / 1.045 GB Notification: Performance of Templates: time 0.07542/1.51, allocations: 43.8 MB / 1.451 GB, free: 4.555 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches