Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00148/0.001481, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 55.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.841, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2228/1.064, allocations: 211.9 MB / 1.224 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.079, allocations: 12.17 MB / 1.236 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/1.081, allocations: 51.56 kB / 1.236 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/1.083, allocations: 429.4 kB / 1.236 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005348/1.088, allocations: 1.782 MB / 1.238 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/1.093, allocations: 1.766 MB / 1.24 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003535/1.096, allocations: 2.391 MB / 1.242 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/1.098, allocations: 1.13 MB / 1.243 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/1.1, allocations: 0.8444 MB / 1.244 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/1.101, allocations: 0.7198 MB / 1.245 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/1.102, allocations: 91.98 kB / 1.245 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00582/1.107, allocations: 3.25 MB / 1.248 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005928/1.108, allocations: 0.5415 MB / 1.248 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/1.109, allocations: 0.727 MB / 1.249 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005433/1.115, allocations: 3.381 MB / 1.252 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.115, allocations: 0 / 1.252 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.115, allocations: 4 kB / 1.252 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.264e-05/1.115, allocations: 0 / 1.252 GB, free: 0.6562 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.6526/1.767, allocations: 1.723 MB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.767, allocations: 10.33 kB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/1.769, allocations: 371.1 kB / 1.254 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.771, allocations: 0.8849 MB / 1.255 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/1.771, allocations: 76.41 kB / 1.255 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.771, allocations: 109.3 kB / 1.255 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.773, allocations: 1.509 MB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.773, allocations: 5.75 kB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/1.773, allocations: 49.06 kB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.433e-05/1.773, allocations: 57.77 kB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/1.775, allocations: 1.02 MB / 1.258 GB, free: 234.6 MB / 0.9981 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.006417/1.782, allocations: 5.922 MB / 1.264 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/1.782, allocations: 328.1 kB / 1.264 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/1.783, allocations: 245.6 kB / 1.264 GB, free: 230 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/1.783, allocations: 0.7048 MB / 1.265 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.783, allocations: 40.77 kB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/1.783, allocations: 0 / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001424/1.785, allocations: 0.6735 MB / 1.266 GB, free: 229 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.785, allocations: 132.9 kB / 1.266 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/1.787, allocations: 1.658 MB / 1.267 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/1.787, allocations: 36.91 kB / 1.267 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/1.788, allocations: 0.5528 MB / 1.268 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/1.788, allocations: 95.25 kB / 1.268 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/1.788, allocations: 72.25 kB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.427e-05/1.788, allocations: 320.7 kB / 1.269 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/1.789, allocations: 161.3 kB / 1.269 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/1.789, allocations: 284.4 kB / 1.269 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/1.79, allocations: 438.7 kB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.79, allocations: 1.281 kB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009672/1.791, allocations: 0.565 MB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.791, allocations: 6.312 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.791, allocations: 3.984 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.791, allocations: 6.844 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/1.791, allocations: 55.59 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.791, allocations: 4.469 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/1.792, allocations: 116.4 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/1.792, allocations: 28.02 kB / 1.27 GB, free: 226.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004796/1.792, allocations: 373.8 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.792, allocations: 136.9 kB / 1.271 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/1.793, allocations: 381.4 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.793, allocations: 3.781 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.793, allocations: 1.25 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.793, allocations: 3 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/1.797, allocations: 2.615 MB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.797, allocations: 5.656 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/1.797, allocations: 52.03 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.797, allocations: 12 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/1.797, allocations: 13.34 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/1.797, allocations: 8.844 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.797, allocations: 11.44 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/1.798, allocations: 0.6238 MB / 1.274 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/1.798, allocations: 295.9 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/1.798, allocations: 13.86 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/1.799, allocations: 19.23 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/1.799, allocations: 35.44 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/1.799, allocations: 19.42 kB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001648/1.801, allocations: 1.209 MB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.801, allocations: 0 / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001258/1.802, allocations: 337.3 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001734/1.804, allocations: 0.6236 MB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007263/1.804, allocations: 360.5 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.804, allocations: 1.531 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/1.805, allocations: 159 kB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/1.809, allocations: 0.9283 MB / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/1.812, allocations: 2.393 MB / 1.28 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/1.813, allocations: 1.198 MB / 1.282 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001091/1.814, allocations: 302.9 kB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/1.814, allocations: 88.31 kB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.814, allocations: 3.938 kB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04015/1.854, allocations: 30.06 MB / 1.311 GB, free: 193.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches