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 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.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.001599/0.001599, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.00175/0.00175, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.865, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2279/1.093, allocations: 214.1 MB / 1.417 GB, free: 6.785 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01595/1.109, allocations: 12.16 MB / 1.429 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/1.111, allocations: 39.69 kB / 1.429 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/1.113, allocations: 0.508 MB / 1.43 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005647/1.118, allocations: 1.88 MB / 1.432 GB, free: 8.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/1.123, allocations: 1.906 MB / 1.434 GB, free: 6.258 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003566/1.127, allocations: 2.379 MB / 1.436 GB, free: 3.871 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/1.129, allocations: 1.185 MB / 1.437 GB, free: 2.664 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/1.131, allocations: 0.8483 MB / 1.438 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/1.133, allocations: 0.6457 MB / 1.439 GB, free: 1.164 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/1.133, allocations: 88 kB / 1.439 GB, free: 1.078 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005727/1.139, allocations: 2.707 MB / 1.441 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007343/1.139, allocations: 0.5337 MB / 1.442 GB, free: 13.83 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/1.141, allocations: 0.7348 MB / 1.442 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006275/1.147, allocations: 3.089 MB / 1.445 GB, free: 9.992 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.147, allocations: 0 / 1.445 GB, free: 9.992 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.114e-06/1.147, allocations: 0 / 1.445 GB, free: 9.992 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.759e-05/1.147, allocations: 3.984 kB / 1.445 GB, free: 9.988 MB / 1.17 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.003771/1.151, allocations: 1.729 MB / 1.447 GB, free: 8.203 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.151, allocations: 8.031 kB / 1.447 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/1.153, allocations: 381.7 kB / 1.448 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/1.155, allocations: 0.9463 MB / 1.448 GB, free: 6.828 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.155, allocations: 86.02 kB / 1.449 GB, free: 6.742 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/1.155, allocations: 96 kB / 1.449 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/1.158, allocations: 1.513 MB / 1.45 GB, free: 5.023 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.158, allocations: 7.875 kB / 1.45 GB, free: 5.016 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.158, allocations: 51.98 kB / 1.45 GB, free: 4.965 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.172e-05/1.158, allocations: 61.47 kB / 1.45 GB, free: 4.906 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/1.16, allocations: 1.017 MB / 1.451 GB, free: 3.891 MB / 1.17 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.007135/1.167, allocations: 5.809 MB / 1.457 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/1.168, allocations: 322.2 kB / 1.457 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/1.168, allocations: 251.3 kB / 1.457 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/1.169, allocations: 0.7081 MB / 1.458 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/1.169, allocations: 38.56 kB / 1.458 GB, free: 12.25 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 2.915e-06/1.169, allocations: 0 / 1.458 GB, free: 12.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001518/1.17, allocations: 0.6758 MB / 1.459 GB, free: 11.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/1.17, allocations: 136.5 kB / 1.459 GB, free: 11.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/1.173, allocations: 1.654 MB / 1.461 GB, free: 9.738 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/1.173, allocations: 33.7 kB / 1.461 GB, free: 9.699 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/1.174, allocations: 0.5502 MB / 1.461 GB, free: 9.145 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.174, allocations: 90.66 kB / 1.461 GB, free: 9.055 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/1.174, allocations: 69.61 kB / 1.461 GB, free: 8.98 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.174, allocations: 321.9 kB / 1.462 GB, free: 8.66 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.174, allocations: 171.8 kB / 1.462 GB, free: 8.492 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/1.175, allocations: 290.1 kB / 1.462 GB, free: 8.172 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/1.175, allocations: 429.9 kB / 1.462 GB, free: 7.715 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.175, allocations: 0 / 1.462 GB, free: 7.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009376/1.176, allocations: 0.562 MB / 1.463 GB, free: 7.145 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.176, allocations: 8 kB / 1.463 GB, free: 7.137 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.176, allocations: 4 kB / 1.463 GB, free: 7.133 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.176, allocations: 4 kB / 1.463 GB, free: 7.129 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/1.177, allocations: 55.97 kB / 1.463 GB, free: 7.074 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.092e-05/1.177, allocations: 12.25 kB / 1.463 GB, free: 7.062 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/1.177, allocations: 106.5 kB / 1.463 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/1.177, allocations: 27.98 kB / 1.463 GB, free: 6.93 MB / 1.186 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.0006406/1.178, allocations: 377.5 kB / 1.464 GB, free: 6.551 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/1.178, allocations: 134.3 kB / 1.464 GB, free: 6.418 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/1.179, allocations: 384.9 kB / 1.464 GB, free: 6.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.179, allocations: 8 kB / 1.464 GB, free: 6.012 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.179, allocations: 0 / 1.464 GB, free: 6.012 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.179, allocations: 8.016 kB / 1.464 GB, free: 6.004 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/1.183, allocations: 2.513 MB / 1.467 GB, free: 3.309 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.183, allocations: 4 kB / 1.467 GB, free: 3.305 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/1.183, allocations: 52.02 kB / 1.467 GB, free: 3.254 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.183, allocations: 8 kB / 1.467 GB, free: 3.246 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/1.183, allocations: 15.94 kB / 1.467 GB, free: 3.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/1.183, allocations: 15.92 kB / 1.467 GB, free: 3.215 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.183, allocations: 11.94 kB / 1.467 GB, free: 3.203 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/1.184, allocations: 0.6145 MB / 1.467 GB, free: 2.488 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/1.184, allocations: 295.2 kB / 1.468 GB, free: 2.18 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/1.185, allocations: 8 kB / 1.468 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/1.185, allocations: 19.92 kB / 1.468 GB, free: 2.152 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/1.185, allocations: 35.86 kB / 1.468 GB, free: 2.117 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/1.185, allocations: 16 kB / 1.468 GB, free: 2.102 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001773/1.187, allocations: 1.207 MB / 1.469 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/1.187, allocations: 0 / 1.469 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00112/1.188, allocations: 327.8 kB / 1.469 GB, free: 0.5781 MB / 1.186 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.001754/1.19, allocations: 0.6131 MB / 1.47 GB, free: 15.96 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007501/1.191, allocations: 359.4 kB / 1.47 GB, free: 15.62 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.191, allocations: 3.938 kB / 1.47 GB, free: 15.61 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/1.191, allocations: 160.8 kB / 1.47 GB, free: 15.46 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/1.195, allocations: 0.9268 MB / 1.471 GB, free: 14.56 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/1.199, allocations: 2.142 MB / 1.473 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/1.2, allocations: 1.201 MB / 1.474 GB, free: 11.07 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.2, allocations: 83.44 kB / 1.474 GB, free: 10.99 MB / 1.201 GB Notification: Performance of SimCode: time 8.01e-07/1.2, allocations: 0 / 1.474 GB, free: 10.99 MB / 1.201 GB Notification: Performance of Templates: time 0.03583/1.236, allocations: 24.82 MB / 1.499 GB, free: 2.34 MB / 1.217 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/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