Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,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_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,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_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001051, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.316 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.37/2.37, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.000349, allocations: 8.281 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7182, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2795/0.9977, allocations: 234.6 MB / 1.185 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01165/1.009, allocations: 7.209 MB / 1.192 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/1.011, allocations: 47.62 kB / 1.192 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/1.012, allocations: 429.6 kB / 1.192 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/1.016, allocations: 1.233 MB / 1.193 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/1.02, allocations: 1.561 MB / 1.195 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00342/1.023, allocations: 2.767 MB / 1.198 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/1.025, allocations: 0.6797 MB / 1.198 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/1.028, allocations: 1.307 MB / 1.2 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/1.029, allocations: 0.6808 MB / 1.2 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/1.029, allocations: 44 kB / 1.2 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/1.033, allocations: 2.081 MB / 1.202 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/1.033, allocations: 267.1 kB / 1.203 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/1.034, allocations: 483.3 kB / 1.203 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/1.036, allocations: 1.247 MB / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.036, allocations: 0 / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/1.036, allocations: 0 / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.119e-05/1.036, allocations: 0 / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002385/1.038, allocations: 1.148 MB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.038, allocations: 8.031 kB / 1.205 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/1.04, allocations: 286.6 kB / 1.206 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/1.041, allocations: 0.6632 MB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/1.041, allocations: 41 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.041, allocations: 56 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.043, allocations: 0.6115 MB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.043, allocations: 0 / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/1.043, allocations: 20 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/1.043, allocations: 15.98 kB / 1.207 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.044, allocations: 0.6324 MB / 1.208 GB, free: 12.37 MB / 0.9669 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.003704/1.048, allocations: 2.637 MB / 1.21 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.049, allocations: 491.6 kB / 1.211 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/1.049, allocations: 327.5 kB / 1.211 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/1.05, allocations: 416.7 kB / 1.211 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.05, allocations: 41.94 kB / 1.211 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007275/1.051, allocations: 183.5 kB / 1.212 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/1.051, allocations: 0 / 1.212 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002836/1.054, allocations: 1.131 MB / 1.213 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.054, allocations: 59.34 kB / 1.213 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/1.055, allocations: 0.653 MB / 1.213 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.864e-05/1.055, allocations: 37.64 kB / 1.214 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/1.055, allocations: 345.1 kB / 1.214 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/1.055, allocations: 157.7 kB / 1.214 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/1.055, allocations: 41.7 kB / 1.214 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.055, allocations: 326 kB / 1.214 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/1.056, allocations: 220.7 kB / 1.215 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/1.056, allocations: 328.4 kB / 1.215 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/1.057, allocations: 0.5325 MB / 1.215 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.057, allocations: 0 / 1.215 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001593/1.059, allocations: 0.7301 MB / 1.216 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/1.059, allocations: 120.4 kB / 1.216 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.059, allocations: 0 / 1.216 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/1.06, allocations: 84.78 kB / 1.216 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/1.06, allocations: 103.9 kB / 1.216 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005159/1.061, allocations: 0.6225 MB / 1.217 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/1.061, allocations: 59.98 kB / 1.217 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/1.061, allocations: 27.97 kB / 1.217 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.061, allocations: 6.031 kB / 1.217 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/1.063, allocations: 0.6004 MB / 1.218 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.063, allocations: 0 / 1.218 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/1.063, allocations: 60.81 kB / 1.218 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/1.063, allocations: 95.89 kB / 1.218 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/1.065, allocations: 1.702 MB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/1.066, allocations: 60.03 kB / 1.22 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/1.066, allocations: 23.98 kB / 1.22 GB, free: 15.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003924/1.066, allocations: 297 kB / 1.22 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.066, allocations: 75.16 kB / 1.22 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.068, allocations: 0.7853 MB / 1.221 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.068, allocations: 4 kB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.068, allocations: 0 / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.068, allocations: 7.984 kB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/1.071, allocations: 1.677 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.071, allocations: 8 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/1.072, allocations: 87.81 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/1.072, allocations: 77.2 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/1.072, allocations: 12 kB / 1.223 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000417/1.072, allocations: 0.6186 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.072, allocations: 7.984 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/1.074, allocations: 1.2 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/1.074, allocations: 200.1 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.075, allocations: 12 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/1.075, allocations: 71.78 kB / 1.225 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.075, allocations: 43.83 kB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/1.075, allocations: 19.98 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006073/1.076, allocations: 471 kB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.076, allocations: 0 / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001117/1.077, allocations: 379.4 kB / 1.225 GB, free: 9.352 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004756/1.078, allocations: 217.6 kB / 1.226 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002174/1.08, allocations: 0.9943 MB / 1.227 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.08, allocations: 0 / 1.227 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006489/1.081, allocations: 321.6 kB / 1.227 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.083, allocations: 472.6 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/1.089, allocations: 2.171 MB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/1.09, allocations: 0.962 MB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/1.09, allocations: 67.41 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.09, allocations: 0 / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of Templates: time 0.02249/1.113, allocations: 15.56 MB / 1.246 GB, free: 4.621 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches