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.001628/0.001628, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001788/0.001788, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65.34 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.8378/1.195, allocations: 212.5 MB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01455/1.21, allocations: 12.27 MB / 1.287 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/1.212, allocations: 49.25 kB / 1.287 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/1.213, allocations: 401.7 kB / 1.287 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007111/1.221, allocations: 1.763 MB / 1.289 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/1.227, allocations: 1.733 MB / 1.291 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005398/1.232, allocations: 3.081 MB / 1.294 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/1.235, allocations: 1.019 MB / 1.295 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/1.237, allocations: 0.7269 MB / 1.296 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/1.239, allocations: 0.7083 MB / 1.296 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004661/1.239, allocations: 47.5 kB / 1.296 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008235/1.248, allocations: 3.522 MB / 1.3 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/1.249, allocations: 0.4964 MB / 1.3 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002323/1.251, allocations: 0.6756 MB / 1.301 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007828/1.259, allocations: 3.337 MB / 1.304 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.259, allocations: 0 / 1.304 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/1.259, allocations: 0 / 1.304 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.607e-05/1.259, allocations: 0 / 1.304 GB, free: 4.898 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.006931/1.266, allocations: 1.728 MB / 1.306 GB, free: 19.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/1.266, allocations: 9.906 kB / 1.306 GB, free: 19.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/1.268, allocations: 375.7 kB / 1.306 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/1.271, allocations: 0.8845 MB / 1.307 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/1.271, allocations: 85.25 kB / 1.307 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/1.271, allocations: 101.7 kB / 1.307 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/1.274, allocations: 1.506 MB / 1.309 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/1.274, allocations: 5.469 kB / 1.309 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/1.274, allocations: 47.62 kB / 1.309 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.053e-05/1.274, allocations: 57.58 kB / 1.309 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/1.276, allocations: 1.011 MB / 1.31 GB, free: 19.23 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.008194/1.284, allocations: 5.939 MB / 1.316 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/1.285, allocations: 326.6 kB / 1.316 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/1.285, allocations: 248.5 kB / 1.316 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008124/1.286, allocations: 0.7083 MB / 1.317 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.286, allocations: 38.25 kB / 1.317 GB, free: 14.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.846e-06/1.286, allocations: 0 / 1.317 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001622/1.288, allocations: 0.6789 MB / 1.318 GB, free: 14.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/1.288, allocations: 136.2 kB / 1.318 GB, free: 14.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/1.291, allocations: 1.653 MB / 1.319 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/1.291, allocations: 32.55 kB / 1.319 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/1.292, allocations: 0.554 MB / 1.32 GB, free: 14.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.292, allocations: 93.92 kB / 1.32 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/1.292, allocations: 68.75 kB / 1.32 GB, free: 14.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.292, allocations: 323.5 kB / 1.32 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/1.293, allocations: 159.6 kB / 1.32 GB, free: 13.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/1.293, allocations: 289.8 kB / 1.321 GB, free: 13.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/1.294, allocations: 439 kB / 1.321 GB, free: 13.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.294, allocations: 2.594 kB / 1.321 GB, free: 13.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001165/1.295, allocations: 0.5569 MB / 1.322 GB, free: 13.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.295, allocations: 8.781 kB / 1.322 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.295, allocations: 0 / 1.322 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.295, allocations: 9.812 kB / 1.322 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/1.295, allocations: 55.53 kB / 1.322 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.295, allocations: 15.55 kB / 1.322 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.296, allocations: 111.7 kB / 1.322 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/1.296, allocations: 21.72 kB / 1.322 GB, free: 13.43 MB / 1.014 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.0006099/1.297, allocations: 376.9 kB / 1.322 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/1.297, allocations: 137.9 kB / 1.322 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/1.298, allocations: 382.7 kB / 1.323 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.298, allocations: 10.12 kB / 1.323 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.298, allocations: 1.594 kB / 1.323 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.298, allocations: 1.625 kB / 1.323 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004481/1.303, allocations: 2.606 MB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.303, allocations: 5.625 kB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/1.303, allocations: 54.05 kB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.303, allocations: 7.375 kB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.303, allocations: 13.09 kB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/1.303, allocations: 13.91 kB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.303, allocations: 11.81 kB / 1.325 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/1.304, allocations: 0.6208 MB / 1.326 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/1.304, allocations: 286.7 kB / 1.326 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/1.305, allocations: 13.59 kB / 1.326 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/1.305, allocations: 25.41 kB / 1.326 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/1.305, allocations: 40.61 kB / 1.326 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/1.305, allocations: 18.97 kB / 1.326 GB, free: 11.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001831/1.307, allocations: 1.206 MB / 1.328 GB, free: 11.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.307, allocations: 0 / 1.328 GB, free: 11.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001568/1.309, allocations: 335.7 kB / 1.328 GB, free: 11.45 MB / 1.014 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.002257/1.311, allocations: 0.6261 MB / 1.329 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006145/1.312, allocations: 356.2 kB / 1.329 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.312, allocations: 5.781 kB / 1.329 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/1.312, allocations: 156.6 kB / 1.329 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/1.316, allocations: 0.8644 MB / 1.33 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/1.32, allocations: 2.392 MB / 1.332 GB, free: 9.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.321, allocations: 1.206 MB / 1.333 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001323/1.323, allocations: 302.5 kB / 1.334 GB, free: 9.152 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/1.323, allocations: 79.81 kB / 1.334 GB, free: 9.145 MB / 1.014 GB Notification: Performance of SimCode: time 1.192e-06/1.323, allocations: 0 / 1.334 GB, free: 9.145 MB / 1.014 GB Notification: Performance of Templates: time 0.0519/1.375, allocations: 29.2 MB / 1.362 GB, free: 14.18 MB / 1.029 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=480 -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/jenkins/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