Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001501/0.001501, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001482/0.001482, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 65.03 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8083, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2742/1.083, allocations: 214.1 MB / 1.292 GB, free: 8.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01611/1.099, allocations: 12.16 MB / 1.304 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/1.1, allocations: 43.69 kB / 1.304 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/1.101, allocations: 0.508 MB / 1.304 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/1.106, allocations: 1.874 MB / 1.306 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004415/1.11, allocations: 1.907 MB / 1.308 GB, free: 7.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003013/1.113, allocations: 2.368 MB / 1.31 GB, free: 5.215 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/1.115, allocations: 1.201 MB / 1.312 GB, free: 3.996 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006172/1.121, allocations: 2.971 MB / 1.314 GB, free: 1.016 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.122, allocations: 0.6496 MB / 1.315 GB, free: 372 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/1.123, allocations: 88 kB / 1.315 GB, free: 284 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005241/1.128, allocations: 2.627 MB / 1.318 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000635/1.128, allocations: 0.5338 MB / 1.318 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009527/1.129, allocations: 0.7231 MB / 1.319 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00509/1.135, allocations: 3.136 MB / 1.322 GB, free: 9.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.135, allocations: 0 / 1.322 GB, free: 9.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/1.135, allocations: 0 / 1.322 GB, free: 9.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.135, allocations: 0 / 1.322 GB, free: 9.238 MB / 1.045 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.002573/1.137, allocations: 1.725 MB / 1.324 GB, free: 7.457 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.137, allocations: 8.031 kB / 1.324 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/1.139, allocations: 373.8 kB / 1.324 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.14, allocations: 0.8917 MB / 1.325 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/1.14, allocations: 78.02 kB / 1.325 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.14, allocations: 100 kB / 1.325 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/1.143, allocations: 1.501 MB / 1.327 GB, free: 4.355 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.143, allocations: 3.938 kB / 1.327 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/1.143, allocations: 48 kB / 1.327 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-05/1.143, allocations: 65.47 kB / 1.327 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/1.144, allocations: 1.021 MB / 1.328 GB, free: 3.223 MB / 1.045 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.00703/1.151, allocations: 5.93 MB / 1.334 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/1.152, allocations: 326.1 kB / 1.334 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/1.152, allocations: 251.4 kB / 1.334 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/1.153, allocations: 0.7119 MB / 1.335 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.153, allocations: 42.5 kB / 1.335 GB, free: 11.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/1.153, allocations: 0 / 1.335 GB, free: 11.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.001352/1.155, allocations: 0.6681 MB / 1.335 GB, free: 10.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/1.155, allocations: 136.5 kB / 1.336 GB, free: 10.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.157, allocations: 1.654 MB / 1.337 GB, free: 8.949 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/1.157, allocations: 33.7 kB / 1.337 GB, free: 8.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/1.157, allocations: 0.5541 MB / 1.338 GB, free: 8.352 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/1.157, allocations: 90.66 kB / 1.338 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.158, allocations: 69.64 kB / 1.338 GB, free: 8.188 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.158, allocations: 329.8 kB / 1.338 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/1.158, allocations: 155.9 kB / 1.338 GB, free: 7.707 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/1.158, allocations: 294.1 kB / 1.339 GB, free: 7.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/1.159, allocations: 429.9 kB / 1.339 GB, free: 6.926 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.159, allocations: 0 / 1.339 GB, free: 6.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008243/1.16, allocations: 0.5581 MB / 1.34 GB, free: 6.359 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.16, allocations: 11.94 kB / 1.34 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.16, allocations: 4.25 kB / 1.34 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.16, allocations: 8 kB / 1.34 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/1.16, allocations: 59.91 kB / 1.34 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.16, allocations: 4 kB / 1.34 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/1.161, allocations: 110.5 kB / 1.34 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/1.161, allocations: 24 kB / 1.34 GB, free: 6.141 MB / 1.061 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.0004947/1.161, allocations: 377.4 kB / 1.34 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/1.161, allocations: 138.3 kB / 1.34 GB, free: 5.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/1.162, allocations: 385.3 kB / 1.341 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.162, allocations: 4 kB / 1.341 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.162, allocations: 0 / 1.341 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.162, allocations: 0 / 1.341 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/1.166, allocations: 2.61 MB / 1.343 GB, free: 2.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.166, allocations: 4 kB / 1.343 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/1.166, allocations: 51.92 kB / 1.343 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.166, allocations: 8 kB / 1.343 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/1.166, allocations: 19.92 kB / 1.343 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.166, allocations: 8 kB / 1.343 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.166, allocations: 12.47 kB / 1.343 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/1.167, allocations: 0.6239 MB / 1.344 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/1.167, allocations: 291.2 kB / 1.344 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/1.167, allocations: 15.98 kB / 1.344 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/1.168, allocations: 12 kB / 1.344 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/1.168, allocations: 35.8 kB / 1.344 GB, free: 1.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/1.168, allocations: 16 kB / 1.344 GB, free: 1.215 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001627/1.169, allocations: 1.211 MB / 1.346 GB, free: 8 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.169, allocations: 0 / 1.346 GB, free: 8 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0014/1.171, allocations: 327.8 kB / 1.346 GB, free: 15.69 MB / 1.076 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.002035/1.173, allocations: 0.6409 MB / 1.346 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007512/1.174, allocations: 359.5 kB / 1.347 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.174, allocations: 0.5 kB / 1.347 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.174, allocations: 163.6 kB / 1.347 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1.178, allocations: 0.9212 MB / 1.348 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/1.181, allocations: 2.166 MB / 1.35 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.182, allocations: 1.193 MB / 1.351 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/1.182, allocations: 91.44 kB / 1.351 GB, free: 10.06 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.182, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.076 GB Notification: Performance of Templates: time 0.037/1.219, allocations: 24.73 MB / 1.375 GB, free: 1.5 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches