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.001027/0.001027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006845/0.006845, allocations: 169.9 kB / 16.26 MB, free: 6.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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.756/2.756, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003746, allocations: 18.88 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.367, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 1.002/1.369, allocations: 248.7 MB / 1.302 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03186/1.401, allocations: 20.53 MB / 1.322 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005711/1.407, allocations: 77.31 kB / 1.322 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/1.411, allocations: 0.6554 MB / 1.322 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/1.423, allocations: 2.722 MB / 1.325 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009706/1.433, allocations: 2.511 MB / 1.327 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009902/1.443, allocations: 5.066 MB / 1.332 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/1.446, allocations: 1.046 MB / 1.333 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/1.451, allocations: 1.252 MB / 1.335 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/1.454, allocations: 1.039 MB / 1.336 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004052/1.454, allocations: 50.69 kB / 1.336 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/1.466, allocations: 5.054 MB / 1.341 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/1.468, allocations: 0.5924 MB / 1.341 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/1.469, allocations: 0.9273 MB / 1.342 GB, free: 17.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01287/1.482, allocations: 4.438 MB / 1.346 GB, free: 16.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.482, allocations: 4 kB / 1.346 GB, free: 16.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.875e-06/1.482, allocations: 0 / 1.346 GB, free: 16.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.333e-05/1.482, allocations: 2.938 kB / 1.346 GB, free: 16.89 MB / 1.014 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.004141/1.487, allocations: 1.909 MB / 1.348 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.487, allocations: 9.688 kB / 1.348 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/1.489, allocations: 484.4 kB / 1.349 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/1.491, allocations: 1.263 MB / 1.35 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.66e-05/1.491, allocations: 96 kB / 1.35 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.492, allocations: 126 kB / 1.35 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/1.494, allocations: 1.714 MB / 1.352 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/1.494, allocations: 8 kB / 1.352 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.494, allocations: 58.55 kB / 1.352 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/1.495, allocations: 73.02 kB / 1.352 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.496, allocations: 1.218 MB / 1.353 GB, free: 14.8 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.008502/1.505, allocations: 7.563 MB / 1.361 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/1.506, allocations: 0.6644 MB / 1.361 GB, free: 9.996 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/1.506, allocations: 0.6217 MB / 1.362 GB, free: 9.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/1.508, allocations: 1.871 MB / 1.364 GB, free: 7.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.508, allocations: 50.19 kB / 1.364 GB, free: 7.801 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/1.508, allocations: 0 / 1.364 GB, free: 7.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002284/1.51, allocations: 1.393 MB / 1.365 GB, free: 7.664 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/1.511, allocations: 294.8 kB / 1.365 GB, free: 7.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/1.513, allocations: 1.89 MB / 1.367 GB, free: 6.926 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/1.513, allocations: 41.05 kB / 1.367 GB, free: 6.895 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005721/1.514, allocations: 0.7324 MB / 1.368 GB, free: 6.699 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.514, allocations: 248 kB / 1.368 GB, free: 6.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/1.514, allocations: 53.03 kB / 1.368 GB, free: 6.496 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.514, allocations: 329.2 kB / 1.369 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/1.515, allocations: 329.9 kB / 1.369 GB, free: 6.133 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/1.515, allocations: 0.5709 MB / 1.369 GB, free: 5.922 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/1.516, allocations: 0.8569 MB / 1.37 GB, free: 5.691 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.516, allocations: 0 / 1.37 GB, free: 5.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001504/1.518, allocations: 1.009 MB / 1.371 GB, free: 5.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.518, allocations: 8.031 kB / 1.371 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.518, allocations: 3.156 kB / 1.371 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.518, allocations: 9.844 kB / 1.371 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/1.518, allocations: 124.3 kB / 1.371 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.518, allocations: 5.812 kB / 1.371 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/1.519, allocations: 136.3 kB / 1.372 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.519, allocations: 45.89 kB / 1.372 GB, free: 5.344 MB / 1.014 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.000933/1.52, allocations: 465 kB / 1.372 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/1.52, allocations: 195.6 kB / 1.372 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.522, allocations: 1.083 MB / 1.373 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/1.522, allocations: 16.09 kB / 1.373 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.522, allocations: 2.688 kB / 1.373 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.522, allocations: 7.047 kB / 1.373 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.534, allocations: 8.794 MB / 1.382 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.534, allocations: 18.72 kB / 1.382 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/1.534, allocations: 141 kB / 1.382 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/1.534, allocations: 21.19 kB / 1.382 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/1.535, allocations: 41.97 kB / 1.382 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-05/1.535, allocations: 31.14 kB / 1.382 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/1.535, allocations: 22.75 kB / 1.382 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/1.537, allocations: 1.674 MB / 1.384 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007846/1.537, allocations: 418.7 kB / 1.384 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.538, allocations: 31.55 kB / 1.384 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/1.538, allocations: 42.94 kB / 1.384 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.539, allocations: 105 kB / 1.384 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/1.539, allocations: 58.86 kB / 1.384 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001919/1.541, allocations: 1.313 MB / 1.386 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.541, allocations: 0 / 1.386 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002486/1.543, allocations: 0.5335 MB / 1.386 GB, free: 12.27 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.002727/1.546, allocations: 0.9508 MB / 1.387 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001384/1.547, allocations: 0.827 MB / 1.388 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.547, allocations: 3.344 kB / 1.388 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/1.548, allocations: 485.9 kB / 1.388 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/1.559, allocations: 1.271 MB / 1.39 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/1.565, allocations: 3.759 MB / 1.393 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/1.566, allocations: 1.404 MB / 1.395 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001779/1.568, allocations: 485.3 kB / 1.395 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/1.568, allocations: 121.5 kB / 1.395 GB, free: 6.719 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/1.568, allocations: 0 / 1.395 GB, free: 6.719 MB / 1.029 GB Notification: Performance of Templates: time 0.07207/1.64, allocations: 42.17 MB / 1.436 GB, free: 15.95 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