Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BoundaryWithX_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_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001173/0.001173, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.666 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004129, allocations: 15.98 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7678, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2366/1.004, allocations: 195.7 MB / 1.145 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01689/1.021, allocations: 11.47 MB / 1.157 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/1.024, allocations: 47.56 kB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/1.025, allocations: 357.2 kB / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/1.031, allocations: 1.403 MB / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/1.036, allocations: 1.302 MB / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003882/1.04, allocations: 2.624 MB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/1.042, allocations: 0.8746 MB / 1.163 GB, free: 9.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/1.044, allocations: 0.6884 MB / 1.164 GB, free: 8.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/1.045, allocations: 0.6497 MB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002817/1.045, allocations: 39.94 kB / 1.164 GB, free: 7.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/1.051, allocations: 2.159 MB / 1.167 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007618/1.052, allocations: 0.4908 MB / 1.167 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007118/1.053, allocations: 309 kB / 1.167 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/1.057, allocations: 2.252 MB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.057, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.715e-06/1.057, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.717e-05/1.057, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003007/1.06, allocations: 1.456 MB / 1.171 GB, free: 1.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.06, allocations: 12.03 kB / 1.171 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/1.062, allocations: 373.8 kB / 1.171 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.063, allocations: 0.8536 MB / 1.172 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/1.064, allocations: 78.06 kB / 1.172 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/1.064, allocations: 103.9 kB / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.067, allocations: 1.526 MB / 1.174 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.067, allocations: 11.83 kB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.067, allocations: 44 kB / 1.174 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.321e-05/1.067, allocations: 61.55 kB / 1.174 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/1.068, allocations: 1.025 MB / 1.175 GB, free: 12.92 MB / 0.9356 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.006965/1.075, allocations: 5.907 MB / 1.181 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/1.076, allocations: 322.2 kB / 1.181 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/1.076, allocations: 243.4 kB / 1.181 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/1.077, allocations: 0.7159 MB / 1.182 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/1.077, allocations: 42.5 kB / 1.182 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/1.077, allocations: 0 / 1.182 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001406/1.079, allocations: 0.6756 MB / 1.183 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.079, allocations: 140.4 kB / 1.183 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.081, allocations: 1.667 MB / 1.184 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/1.081, allocations: 33.83 kB / 1.184 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/1.082, allocations: 0.5622 MB / 1.185 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/1.082, allocations: 90.66 kB / 1.185 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/1.082, allocations: 8 kB / 1.185 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.082, allocations: 314 kB / 1.185 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/1.082, allocations: 151.9 kB / 1.186 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/1.082, allocations: 268.5 kB / 1.186 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/1.083, allocations: 191.8 kB / 1.186 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.083, allocations: 0 / 1.186 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008144/1.083, allocations: 0.5502 MB / 1.187 GB, free: 464 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.084, allocations: 4 kB / 1.187 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.084, allocations: 4 kB / 1.187 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.084, allocations: 4 kB / 1.187 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/1.084, allocations: 55.91 kB / 1.187 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.084, allocations: 7.938 kB / 1.187 GB, free: 388 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/1.084, allocations: 118.6 kB / 1.187 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/1.085, allocations: 19.98 kB / 1.187 GB, free: 248 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005317/1.085, allocations: 373.6 kB / 1.187 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/1.085, allocations: 138.3 kB / 1.187 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/1.086, allocations: 389 kB / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.086, allocations: 8 kB / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.086, allocations: 0 / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.086, allocations: 0 / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/1.089, allocations: 2.56 MB / 1.19 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.089, allocations: 11.94 kB / 1.19 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.09, allocations: 47.91 kB / 1.19 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.09, allocations: 8 kB / 1.19 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/1.09, allocations: 16 kB / 1.19 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/1.09, allocations: 15.89 kB / 1.19 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.09, allocations: 4 kB / 1.19 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/1.09, allocations: 0.6156 MB / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/1.091, allocations: 303.2 kB / 1.191 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.091, allocations: 23.98 kB / 1.191 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/1.092, allocations: 23.8 kB / 1.191 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/1.092, allocations: 39.86 kB / 1.191 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/1.092, allocations: 16 kB / 1.191 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001628/1.093, allocations: 1.199 MB / 1.192 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/1.093, allocations: 0 / 1.192 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001113/1.094, allocations: 331.8 kB / 1.193 GB, free: 9.832 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/1.096, allocations: 0.523 MB / 1.193 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005799/1.097, allocations: 331.6 kB / 1.194 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.097, allocations: 0 / 1.194 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/1.097, allocations: 161.5 kB / 1.194 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/1.101, allocations: 0.8526 MB / 1.194 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/1.104, allocations: 2.293 MB / 1.197 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/1.105, allocations: 1.216 MB / 1.198 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001067/1.106, allocations: 294.7 kB / 1.198 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/1.107, allocations: 79.38 kB / 1.198 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of SimCode: time 1.523e-06/1.107, allocations: 0 / 1.198 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of Templates: time 0.04579/1.152, allocations: 27.87 MB / 1.225 GB, free: 8.465 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches