Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008202/0.0008202, allocations: 72.55 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 177.9 kB / 23.22 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9237/0.9237, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.748/1.748, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.703e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.7289/0.7289, allocations: 189.5 MB / 1.167 GB, free: 1.066 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.7407, allocations: 11.22 MB / 1.178 GB, free: 9.398 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.7417, allocations: 62.84 kB / 1.178 GB, free: 9.359 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.7428, allocations: 0.5242 MB / 1.179 GB, free: 9 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.7475, allocations: 1.956 MB / 1.181 GB, free: 7.934 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.7522, allocations: 2.034 MB / 1.183 GB, free: 6.91 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.7546, allocations: 2.372 MB / 1.185 GB, free: 5.754 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009262/0.7555, allocations: 0.8233 MB / 1.186 GB, free: 5.359 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.7608, allocations: 3.474 MB / 1.189 GB, free: 3.863 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/0.7615, allocations: 0.5896 MB / 1.19 GB, free: 3.66 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.7616, allocations: 88.5 kB / 1.19 GB, free: 3.66 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.7655, allocations: 2.09 MB / 1.192 GB, free: 2.867 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.7659, allocations: 0.5648 MB / 1.192 GB, free: 2.617 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.7664, allocations: 492.1 kB / 1.193 GB, free: 2.426 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.7699, allocations: 3.172 MB / 1.196 GB, free: 1.383 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7699, allocations: 4 kB / 1.196 GB, free: 1.379 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7699, allocations: 0 / 1.196 GB, free: 1.379 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.7699, allocations: 0 / 1.196 GB, free: 1.379 MB / 1.026 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.001908/0.7718, allocations: 1.684 MB / 1.198 GB, free: 256 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7719, allocations: 9.969 kB / 1.198 GB, free: 256 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.7729, allocations: 379.8 kB / 1.198 GB, free: 136 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.7741, allocations: 0.8985 MB / 1.199 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.7741, allocations: 76.78 kB / 1.199 GB, free: 15.58 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.7742, allocations: 98.34 kB / 1.199 GB, free: 15.55 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.7759, allocations: 1.964 MB / 1.201 GB, free: 14.26 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.776, allocations: 9.75 kB / 1.201 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.776, allocations: 43.5 kB / 1.201 GB, free: 14.22 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.7761, allocations: 59.08 kB / 1.201 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.7772, allocations: 1.021 MB / 1.202 GB, free: 13.8 MB / 1.042 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.003453/0.7806, allocations: 4.386 MB / 1.206 GB, free: 10.19 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.7811, allocations: 310.5 kB / 1.207 GB, free: 9.977 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.7812, allocations: 239.3 kB / 1.207 GB, free: 9.844 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.7815, allocations: 121.1 kB / 1.207 GB, free: 9.801 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.7815, allocations: 41.41 kB / 1.207 GB, free: 9.754 MB / 1.042 GB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/0.7815, allocations: 0 / 1.207 GB, free: 9.754 MB / 1.042 GB Notification: Performance of matching and sorting (n=28): time 0.0008015/0.7823, allocations: 0.6154 MB / 1.208 GB, free: 9.441 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.7824, allocations: 138.2 kB / 1.208 GB, free: 9.281 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.7829, allocations: 0.6909 MB / 1.208 GB, free: 8.891 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.7829, allocations: 32.61 kB / 1.209 GB, free: 8.855 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.7833, allocations: 0.6102 MB / 1.209 GB, free: 8.312 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.7834, allocations: 93.41 kB / 1.209 GB, free: 8.234 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.7834, allocations: 72.05 kB / 1.209 GB, free: 8.188 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.7835, allocations: 316.8 kB / 1.21 GB, free: 7.875 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.7837, allocations: 162.3 kB / 1.21 GB, free: 7.797 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.7839, allocations: 448.1 kB / 1.21 GB, free: 7.41 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.7843, allocations: 426.5 kB / 1.211 GB, free: 7.137 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7843, allocations: 0 / 1.211 GB, free: 7.137 MB / 1.042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004476/0.7847, allocations: 0.5097 MB / 1.211 GB, free: 6.863 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.7847, allocations: 5.938 kB / 1.211 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7847, allocations: 3.844 kB / 1.211 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.7847, allocations: 5.844 kB / 1.211 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.7849, allocations: 68.94 kB / 1.211 GB, free: 6.84 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7849, allocations: 5.531 kB / 1.211 GB, free: 6.84 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.785, allocations: 33.28 kB / 1.211 GB, free: 6.816 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.7851, allocations: 23.09 kB / 1.211 GB, free: 6.812 MB / 1.042 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.0003107/0.7854, allocations: 371.8 kB / 1.212 GB, free: 6.551 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.7855, allocations: 88.61 kB / 1.212 GB, free: 6.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.7858, allocations: 304.6 kB / 1.212 GB, free: 6.309 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7858, allocations: 9.594 kB / 1.212 GB, free: 6.305 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7858, allocations: 0 / 1.212 GB, free: 6.305 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7858, allocations: 3.984 kB / 1.212 GB, free: 6.301 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.7877, allocations: 2.145 MB / 1.214 GB, free: 4.789 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7878, allocations: 4.938 kB / 1.214 GB, free: 4.789 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.7878, allocations: 56.02 kB / 1.214 GB, free: 4.773 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7878, allocations: 8.188 kB / 1.214 GB, free: 4.773 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7879, allocations: 12.81 kB / 1.214 GB, free: 4.77 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7879, allocations: 11.58 kB / 1.214 GB, free: 4.766 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7879, allocations: 13.75 kB / 1.214 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.7883, allocations: 0.5444 MB / 1.215 GB, free: 4.305 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7884, allocations: 114.2 kB / 1.215 GB, free: 4.234 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.7884, allocations: 14.19 kB / 1.215 GB, free: 4.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7886, allocations: 17.17 kB / 1.215 GB, free: 4.223 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.7886, allocations: 37.16 kB / 1.215 GB, free: 4.199 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.7886, allocations: 23.41 kB / 1.215 GB, free: 4.191 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000361/0.789, allocations: 0.511 MB / 1.215 GB, free: 3.895 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.789, allocations: 0 / 1.215 GB, free: 3.895 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007837/0.7898, allocations: 407.3 kB / 1.216 GB, free: 3.766 MB / 1.042 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.0009436/0.7907, allocations: 0.6241 MB / 1.216 GB, free: 3.43 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.7911, allocations: 350.5 kB / 1.217 GB, free: 3.266 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7911, allocations: 2.344 kB / 1.217 GB, free: 3.266 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.7912, allocations: 156.9 kB / 1.217 GB, free: 3.191 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.7923, allocations: 486.3 kB / 1.217 GB, free: 2.973 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.7941, allocations: 2.008 MB / 1.219 GB, free: 1.621 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.7946, allocations: 0.6112 MB / 1.22 GB, free: 1.266 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.7947, allocations: 55.3 kB / 1.22 GB, free: 1.25 MB / 1.042 GB Notification: Performance of SimCode: time 8.22e-07/0.7947, allocations: 0 / 1.22 GB, free: 1.25 MB / 1.042 GB Notification: Performance of Templates: time 0.01454/0.8093, allocations: 18.38 MB / 1.238 GB, free: 3.52 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.100904239341617]