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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001127/0.001127, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001293/0.001294, allocations: 192.8 kB / 16.25 MB, free: 6.152 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.848/2.848, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7386, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2748/1.013, allocations: 237 MB / 1.248 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.814/1.827, allocations: 7.107 MB / 1.255 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/1.83, allocations: 45.31 kB / 1.255 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/1.832, allocations: 450.8 kB / 1.256 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/1.835, allocations: 1.229 MB / 1.257 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/1.84, allocations: 1.484 MB / 1.258 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003601/1.843, allocations: 1.958 MB / 1.26 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/1.845, allocations: 0.7703 MB / 1.261 GB, free: 19.63 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/1.849, allocations: 1.407 MB / 1.262 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/1.85, allocations: 0.7036 MB / 1.263 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.85, allocations: 72.75 kB / 1.263 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/1.853, allocations: 1.534 MB / 1.265 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/1.854, allocations: 297.1 kB / 1.265 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007505/1.855, allocations: 479.3 kB / 1.265 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/1.859, allocations: 1.731 MB / 1.267 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.859, allocations: 0 / 1.267 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.859, allocations: 1.219 kB / 1.267 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.181e-05/1.859, allocations: 0.9062 kB / 1.267 GB, free: 19.51 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002858/1.862, allocations: 1.257 MB / 1.268 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/1.862, allocations: 10.94 kB / 1.268 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/1.864, allocations: 284 kB / 1.268 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.865, allocations: 0.6527 MB / 1.269 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/1.865, allocations: 40.34 kB / 1.269 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.865, allocations: 54.22 kB / 1.269 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.866, allocations: 0.5942 MB / 1.27 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.866, allocations: 1.062 kB / 1.27 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/1.866, allocations: 24.94 kB / 1.27 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/1.866, allocations: 12.75 kB / 1.27 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.868, allocations: 0.5991 MB / 1.27 GB, free: 18.4 MB / 0.9981 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.004056/1.872, allocations: 2.878 MB / 1.273 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/1.872, allocations: 396.4 kB / 1.274 GB, free: 17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/1.873, allocations: 278.2 kB / 1.274 GB, free: 16.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006552/1.874, allocations: 397.6 kB / 1.274 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/1.874, allocations: 38.44 kB / 1.274 GB, free: 16.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008683/1.875, allocations: 161.6 kB / 1.274 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/1.875, allocations: 1.406 kB / 1.274 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001796/1.876, allocations: 0.8188 MB / 1.275 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/1.876, allocations: 55.81 kB / 1.275 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/1.877, allocations: 0.6941 MB / 1.276 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/1.877, allocations: 36.33 kB / 1.276 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.878, allocations: 355.7 kB / 1.276 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.878, allocations: 142.9 kB / 1.276 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.878, allocations: 91.42 kB / 1.277 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/1.878, allocations: 327 kB / 1.277 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/1.878, allocations: 211.9 kB / 1.277 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/1.879, allocations: 303.4 kB / 1.277 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008744/1.88, allocations: 0.4904 MB / 1.278 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.88, allocations: 3.875 kB / 1.278 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001151/1.881, allocations: 0.6132 MB / 1.278 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.881, allocations: 7.984 kB / 1.278 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.881, allocations: 3.469 kB / 1.278 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.881, allocations: 4.344 kB / 1.278 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/1.882, allocations: 101.5 kB / 1.279 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.882, allocations: 3.281 kB / 1.279 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/1.882, allocations: 58.5 kB / 1.279 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/1.882, allocations: 30.34 kB / 1.279 GB, free: 15.5 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003009/1.883, allocations: 217.5 kB / 1.279 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.883, allocations: 78.41 kB / 1.279 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.884, allocations: 0.658 MB / 1.28 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.884, allocations: 5.656 kB / 1.28 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.884, allocations: 0 / 1.28 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.884, allocations: 4.703 kB / 1.28 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/1.887, allocations: 1.517 MB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.887, allocations: 3.156 kB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/1.887, allocations: 87.31 kB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/1.887, allocations: 5.375 kB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/1.887, allocations: 14.19 kB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.887, allocations: 8.25 kB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.887, allocations: 6.672 kB / 1.281 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/1.889, allocations: 1.054 MB / 1.282 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/1.89, allocations: 196.4 kB / 1.282 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.89, allocations: 14.05 kB / 1.282 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/1.891, allocations: 51.11 kB / 1.282 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.891, allocations: 40.64 kB / 1.283 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/1.891, allocations: 16.12 kB / 1.283 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006768/1.891, allocations: 0.4884 MB / 1.283 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.891, allocations: 0 / 1.283 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000883/1.892, allocations: 202.1 kB / 1.283 GB, free: 14.32 MB / 0.9981 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 (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.0005247/1.893, allocations: 214.7 kB / 1.283 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001169/1.894, allocations: 0.5314 MB / 1.284 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.894, allocations: 0.8125 kB / 1.284 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/1.895, allocations: 279.2 kB / 1.284 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/1.897, allocations: 478.9 kB / 1.285 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/1.903, allocations: 2.027 MB / 1.287 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/1.904, allocations: 0.9633 MB / 1.288 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001574/1.906, allocations: 174.7 kB / 1.288 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/1.906, allocations: 70.66 kB / 1.288 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.906, allocations: 0 / 1.288 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.02885/1.935, allocations: 15.55 MB / 1.303 GB, free: 11.63 MB / 0.9981 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