Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0009916/0.0009916, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001149/0.00115, allocations: 168.7 kB / 15.95 MB, free: 204 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.336 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.963/2.963, allocations: 437.8 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005103, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8842/0.8847, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2549/1.14, allocations: 218.9 MB / 1.236 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8191/1.959, allocations: 6.787 MB / 1.243 GB, free: 23.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/1.961, allocations: 45.78 kB / 1.243 GB, free: 23.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/1.962, allocations: 342.9 kB / 1.243 GB, free: 23.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003694/1.966, allocations: 1.005 MB / 1.244 GB, free: 23.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/1.971, allocations: 1.246 MB / 1.245 GB, free: 23.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005875/1.976, allocations: 2.359 MB / 1.248 GB, free: 23.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.978, allocations: 0.6359 MB / 1.248 GB, free: 23.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/1.984, allocations: 1.159 MB / 1.249 GB, free: 23.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/1.985, allocations: 0.6577 MB / 1.25 GB, free: 23.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/1.985, allocations: 43.72 kB / 1.25 GB, free: 23.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/1.99, allocations: 1.079 MB / 1.251 GB, free: 23.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/1.99, allocations: 263.2 kB / 1.251 GB, free: 23.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005111/1.991, allocations: 194.1 kB / 1.252 GB, free: 23.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/1.993, allocations: 1.146 MB / 1.253 GB, free: 23.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.993, allocations: 0 / 1.253 GB, free: 23.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.076e-06/1.993, allocations: 1.219 kB / 1.253 GB, free: 23.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.959e-05/1.993, allocations: 0 / 1.253 GB, free: 23.09 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002982/1.996, allocations: 1.159 MB / 1.254 GB, free: 22.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.996, allocations: 13.56 kB / 1.254 GB, free: 22.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/1.998, allocations: 277.2 kB / 1.254 GB, free: 22.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/2, allocations: 0.643 MB / 1.255 GB, free: 22.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/2, allocations: 39.72 kB / 1.255 GB, free: 22.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/2, allocations: 49.73 kB / 1.255 GB, free: 22.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/2.002, allocations: 0.6123 MB / 1.255 GB, free: 21.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/2.002, allocations: 0 / 1.255 GB, free: 21.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/2.002, allocations: 23.59 kB / 1.255 GB, free: 21.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/2.002, allocations: 11.78 kB / 1.255 GB, free: 21.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/2.003, allocations: 0.6309 MB / 1.256 GB, free: 21.98 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.003681/2.007, allocations: 2.624 MB / 1.259 GB, free: 20.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009094/2.008, allocations: 491.4 kB / 1.259 GB, free: 20.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/2.008, allocations: 328.2 kB / 1.259 GB, free: 20.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/2.009, allocations: 413.7 kB / 1.26 GB, free: 20.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/2.009, allocations: 39.97 kB / 1.26 GB, free: 20.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006575/2.009, allocations: 193.8 kB / 1.26 GB, free: 20.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/2.009, allocations: 0 / 1.26 GB, free: 20.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002552/2.012, allocations: 1.122 MB / 1.261 GB, free: 20 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/2.012, allocations: 56.44 kB / 1.261 GB, free: 19.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009527/2.013, allocations: 0.6451 MB / 1.262 GB, free: 19.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/2.013, allocations: 41.3 kB / 1.262 GB, free: 19.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/2.013, allocations: 345.2 kB / 1.262 GB, free: 19.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/2.013, allocations: 156 kB / 1.262 GB, free: 19.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/2.014, allocations: 7.469 kB / 1.262 GB, free: 19.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/2.014, allocations: 324.1 kB / 1.263 GB, free: 19.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/2.014, allocations: 230.8 kB / 1.263 GB, free: 19.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/2.015, allocations: 321 kB / 1.263 GB, free: 19.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/2.015, allocations: 261.4 kB / 1.263 GB, free: 19.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.015, allocations: 4 kB / 1.263 GB, free: 19.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001414/2.017, allocations: 0.7113 MB / 1.264 GB, free: 19.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/2.017, allocations: 111.4 kB / 1.264 GB, free: 18.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/2.017, allocations: 1.156 kB / 1.264 GB, free: 18.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/2.017, allocations: 93.11 kB / 1.264 GB, free: 18.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/2.018, allocations: 103.5 kB / 1.264 GB, free: 18.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000411/2.018, allocations: 0.6184 MB / 1.265 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/2.019, allocations: 71.77 kB / 1.265 GB, free: 18.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/2.019, allocations: 19.47 kB / 1.265 GB, free: 18.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/2.019, allocations: 4.406 kB / 1.265 GB, free: 18.38 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/2.02, allocations: 0.5921 MB / 1.266 GB, free: 18.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/2.02, allocations: 4.281 kB / 1.266 GB, free: 18.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/2.02, allocations: 67.86 kB / 1.266 GB, free: 18.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/2.02, allocations: 97.55 kB / 1.266 GB, free: 18.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/2.022, allocations: 1.69 MB / 1.267 GB, free: 17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/2.022, allocations: 64.36 kB / 1.268 GB, free: 16.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/2.022, allocations: 25.58 kB / 1.268 GB, free: 16.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003416/2.023, allocations: 294.7 kB / 1.268 GB, free: 16.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/2.023, allocations: 76.41 kB / 1.268 GB, free: 16.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/2.024, allocations: 0.7743 MB / 1.269 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/2.024, allocations: 4.5 kB / 1.269 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/2.024, allocations: 1.375 kB / 1.269 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/2.024, allocations: 3.047 kB / 1.269 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/2.027, allocations: 1.684 MB / 1.27 GB, free: 16.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/2.027, allocations: 2.812 kB / 1.27 GB, free: 16.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/2.027, allocations: 88.39 kB / 1.27 GB, free: 16.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/2.028, allocations: 74.14 kB / 1.27 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/2.028, allocations: 16.78 kB / 1.27 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003016/2.028, allocations: 0.6126 MB / 1.271 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.028, allocations: 4.125 kB / 1.271 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/2.03, allocations: 1.197 MB / 1.272 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/2.03, allocations: 211.7 kB / 1.272 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/2.03, allocations: 15.19 kB / 1.272 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/2.031, allocations: 68.2 kB / 1.273 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/2.031, allocations: 36.94 kB / 1.273 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/2.031, allocations: 19.73 kB / 1.273 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005359/2.031, allocations: 470 kB / 1.273 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/2.031, allocations: 2.734 kB / 1.273 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001249/2.033, allocations: 372.6 kB / 1.273 GB, free: 15.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004831/2.033, allocations: 225.4 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001675/2.035, allocations: 0.9819 MB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.035, allocations: 0 / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005142/2.035, allocations: 320.6 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/2.037, allocations: 467.5 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/2.042, allocations: 2.07 MB / 1.277 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/2.042, allocations: 0.9682 MB / 1.278 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009456/2.043, allocations: 221.3 kB / 1.278 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/2.044, allocations: 69.69 kB / 1.279 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of SimCode: time 1.012e-06/2.044, allocations: 0 / 1.279 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.0265/2.07, allocations: 15.37 MB / 1.294 GB, free: 12.11 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches