Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009851, 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.001176/0.001177, 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.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.782/2.782, allocations: 437.7 MB / 0.7117 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 8 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8243, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2484/1.073, allocations: 218.8 MB / 1.236 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8166/1.889, allocations: 6.739 MB / 1.243 GB, free: 23.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.891, allocations: 44.31 kB / 1.243 GB, free: 23.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/1.893, allocations: 341.1 kB / 1.243 GB, free: 23.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003651/1.896, allocations: 0.9986 MB / 1.244 GB, free: 23.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/1.901, allocations: 1.165 MB / 1.245 GB, free: 23.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005079/1.906, allocations: 2.303 MB / 1.247 GB, free: 23.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/1.908, allocations: 0.6225 MB / 1.248 GB, free: 23.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004537/1.913, allocations: 1.143 MB / 1.249 GB, free: 23.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/1.915, allocations: 0.6374 MB / 1.25 GB, free: 23.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004208/1.915, allocations: 41.59 kB / 1.25 GB, free: 23.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/1.919, allocations: 0.7559 MB / 1.251 GB, free: 23.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008659/1.92, allocations: 256.8 kB / 1.251 GB, free: 23.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009463/1.921, allocations: 195.9 kB / 1.251 GB, free: 23.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/1.924, allocations: 1.033 MB / 1.252 GB, free: 23.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.924, allocations: 0 / 1.252 GB, free: 23.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.356e-06/1.924, allocations: 4 kB / 1.252 GB, free: 23.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.707e-05/1.924, allocations: 3.859 kB / 1.252 GB, free: 23.3 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003793/1.928, allocations: 1.107 MB / 1.253 GB, free: 22.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.928, allocations: 9.094 kB / 1.253 GB, free: 22.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/1.93, allocations: 284.1 kB / 1.253 GB, free: 22.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/1.933, allocations: 0.635 MB / 1.254 GB, free: 22.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/1.933, allocations: 37.22 kB / 1.254 GB, free: 22.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.933, allocations: 51.03 kB / 1.254 GB, free: 22.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.935, allocations: 0.5986 MB / 1.255 GB, free: 22.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/1.935, allocations: 6.719 kB / 1.255 GB, free: 22.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/1.935, allocations: 26.25 kB / 1.255 GB, free: 22.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.935, allocations: 11.97 kB / 1.255 GB, free: 22.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/1.937, allocations: 0.6224 MB / 1.255 GB, free: 22.22 MB / 0.9825 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.004892/1.942, allocations: 2.886 MB / 1.258 GB, free: 20.83 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/1.942, allocations: 403.2 kB / 1.258 GB, free: 20.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/1.943, allocations: 287.7 kB / 1.259 GB, free: 20.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/1.944, allocations: 422.2 kB / 1.259 GB, free: 20.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.944, allocations: 37.25 kB / 1.259 GB, free: 20.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008722/1.944, allocations: 193.5 kB / 1.259 GB, free: 20.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.975e-06/1.944, allocations: 0 / 1.259 GB, free: 20.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.001865/1.946, allocations: 0.8237 MB / 1.26 GB, free: 20.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.946, allocations: 58.84 kB / 1.26 GB, free: 20.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/1.947, allocations: 0.6906 MB / 1.261 GB, free: 20.06 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/1.947, allocations: 33.23 kB / 1.261 GB, free: 20.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/1.948, allocations: 361.1 kB / 1.261 GB, free: 19.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.948, allocations: 142.2 kB / 1.261 GB, free: 19.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/1.948, allocations: 5.969 kB / 1.261 GB, free: 19.81 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/1.948, allocations: 322.6 kB / 1.262 GB, free: 19.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/1.948, allocations: 211.5 kB / 1.262 GB, free: 19.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/1.949, allocations: 301.3 kB / 1.262 GB, free: 19.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/1.949, allocations: 243.3 kB / 1.262 GB, free: 19.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.949, allocations: 0 / 1.262 GB, free: 19.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001204/1.951, allocations: 0.6184 MB / 1.263 GB, free: 19.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.951, allocations: 5.062 kB / 1.263 GB, free: 19.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.951, allocations: 2.125 kB / 1.263 GB, free: 19.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.951, allocations: 3.344 kB / 1.263 GB, free: 19.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/1.951, allocations: 104.6 kB / 1.263 GB, free: 19.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.951, allocations: 6.312 kB / 1.263 GB, free: 19.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/1.952, allocations: 65.83 kB / 1.263 GB, free: 19.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/1.952, allocations: 23.81 kB / 1.263 GB, free: 19.32 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * 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.0003148/1.952, allocations: 220 kB / 1.263 GB, free: 19.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.952, allocations: 81.81 kB / 1.264 GB, free: 19.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/1.954, allocations: 0.6491 MB / 1.264 GB, free: 19.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.954, allocations: 11.81 kB / 1.264 GB, free: 19.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.954, allocations: 0 / 1.264 GB, free: 19.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.954, allocations: 5.375 kB / 1.264 GB, free: 19.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.956, allocations: 1.509 MB / 1.266 GB, free: 18.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.956, allocations: 7.531 kB / 1.266 GB, free: 18.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/1.957, allocations: 90.31 kB / 1.266 GB, free: 18.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.957, allocations: 13.17 kB / 1.266 GB, free: 18.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/1.957, allocations: 12.97 kB / 1.266 GB, free: 18.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.957, allocations: 8.906 kB / 1.266 GB, free: 18.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.957, allocations: 7.062 kB / 1.266 GB, free: 18.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/1.958, allocations: 1.044 MB / 1.267 GB, free: 18.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/1.959, allocations: 197.5 kB / 1.267 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.959, allocations: 18.39 kB / 1.267 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/1.959, allocations: 52.34 kB / 1.267 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/1.959, allocations: 40.36 kB / 1.267 GB, free: 18.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/1.959, allocations: 14.39 kB / 1.267 GB, free: 18.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006369/1.96, allocations: 491.8 kB / 1.268 GB, free: 18.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.01e-07/1.96, allocations: 0 / 1.268 GB, free: 18.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007703/1.961, allocations: 200.1 kB / 1.268 GB, free: 18.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 42 * 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.000448/1.961, allocations: 211.7 kB / 1.268 GB, free: 17.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009881/1.962, allocations: 0.5019 MB / 1.268 GB, free: 17.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.962, allocations: 1.25 kB / 1.268 GB, free: 17.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/1.963, allocations: 282.6 kB / 1.269 GB, free: 17.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.965, allocations: 497.8 kB / 1.269 GB, free: 17.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/1.97, allocations: 2.029 MB / 1.271 GB, free: 16.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/1.97, allocations: 0.9639 MB / 1.272 GB, free: 16.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008038/1.971, allocations: 169.8 kB / 1.272 GB, free: 16.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.971, allocations: 66.67 kB / 1.272 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/1.971, allocations: 0 / 1.272 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of Templates: time 0.02448/1.996, allocations: 14.59 MB / 1.287 GB, free: 15.3 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches