Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 183.1 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.0009891, allocations: 103.1 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.47e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3245, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.551/5.875, allocations: 1.928 GB / 3.14 GB, free: 340.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/5.876, allocations: 88.22 kB / 3.14 GB, free: 340.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.226/9.102, allocations: 0.7922 GB / 3.933 GB, free: 228.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/9.102, allocations: 0 / 3.933 GB, free: 228.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.51e-05/9.102, allocations: 27.52 kB / 3.933 GB, free: 228.9 MB / 1.151 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.003026/9.105, allocations: 1.221 MB / 3.934 GB, free: 228.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/9.105, allocations: 6.406 kB / 3.934 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/9.107, allocations: 277 kB / 3.934 GB, free: 228.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/9.109, allocations: 0.7578 MB / 3.935 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/9.109, allocations: 19.25 kB / 3.935 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/9.109, allocations: 36.44 kB / 3.935 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009507/9.11, allocations: 0.5332 MB / 3.935 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/9.111, allocations: 0.5055 MB / 3.936 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/9.111, allocations: 0 / 3.936 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/9.111, allocations: 1.281 kB / 3.936 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/9.111, allocations: 15.72 kB / 3.936 GB, free: 228.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003899/9.115, allocations: 2.547 MB / 3.938 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/9.116, allocations: 482.9 kB / 3.939 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/9.116, allocations: 314.1 kB / 3.939 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/9.117, allocations: 399.9 kB / 3.94 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/9.117, allocations: 39.47 kB / 3.94 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/9.118, allocations: 278.1 kB / 3.94 GB, free: 226.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/9.118, allocations: 0 / 3.94 GB, free: 226.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001938/9.12, allocations: 0.771 MB / 3.941 GB, free: 226.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/9.12, allocations: 54.88 kB / 3.941 GB, free: 226.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/9.121, allocations: 463.8 kB / 3.941 GB, free: 226.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/9.121, allocations: 29.77 kB / 3.941 GB, free: 226.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/9.121, allocations: 353.5 kB / 3.941 GB, free: 226.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/9.121, allocations: 149.7 kB / 3.942 GB, free: 226 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/9.121, allocations: 0.9688 kB / 3.942 GB, free: 226 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001373/9.121, allocations: 375.7 kB / 3.942 GB, free: 225.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/9.122, allocations: 214.7 kB / 3.942 GB, free: 225.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/9.122, allocations: 333.5 kB / 3.942 GB, free: 225.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/9.123, allocations: 322.2 kB / 3.943 GB, free: 225.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/9.123, allocations: 0 / 3.943 GB, free: 225.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001528/9.124, allocations: 0.7509 MB / 3.944 GB, free: 225.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/9.124, allocations: 279.8 kB / 3.944 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/9.124, allocations: 1.25 kB / 3.944 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/9.125, allocations: 57.11 kB / 3.944 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/9.125, allocations: 96.38 kB / 3.944 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004594/9.126, allocations: 0.6455 MB / 3.945 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/9.126, allocations: 69.41 kB / 3.945 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/9.126, allocations: 25.23 kB / 3.945 GB, free: 224.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/9.127, allocations: 3.031 kB / 3.945 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/9.128, allocations: 0.6107 MB / 3.945 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/9.128, allocations: 1.438 kB / 3.945 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/9.128, allocations: 69.55 kB / 3.945 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/9.129, allocations: 96 kB / 3.945 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/9.13, allocations: 1.652 MB / 3.947 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/9.131, allocations: 68.06 kB / 3.947 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/9.131, allocations: 24.34 kB / 3.947 GB, free: 223.4 MB / 1.151 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 () * 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.0001734/9.131, allocations: 112.3 kB / 3.947 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/9.131, allocations: 74.31 kB / 3.947 GB, free: 223.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/9.133, allocations: 0.7775 MB / 3.948 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/9.133, allocations: 4.812 kB / 3.948 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/9.133, allocations: 1.25 kB / 3.948 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/9.133, allocations: 2.531 kB / 3.948 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/9.136, allocations: 1.602 MB / 3.95 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/9.136, allocations: 3.469 kB / 3.95 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/9.137, allocations: 95.8 kB / 3.95 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/9.137, allocations: 52.64 kB / 3.95 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/9.137, allocations: 15.48 kB / 3.95 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003555/9.137, allocations: 0.6053 MB / 3.95 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/9.137, allocations: 3.156 kB / 3.95 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/9.139, allocations: 1.243 MB / 3.952 GB, free: 221.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/9.14, allocations: 197.5 kB / 3.952 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/9.14, allocations: 4.344 kB / 3.952 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007765/9.141, allocations: 88.27 kB / 3.952 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/9.141, allocations: 43.09 kB / 3.952 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/9.141, allocations: 21.59 kB / 3.952 GB, free: 221.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005391/9.141, allocations: 364.9 kB / 3.952 GB, free: 221.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/9.141, allocations: 0 / 3.952 GB, free: 221.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002108/9.143, allocations: 0.5239 MB / 3.953 GB, free: 221.5 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.003712/9.147, allocations: 2.374 MB / 3.955 GB, free: 220.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001833/9.149, allocations: 0.9304 MB / 3.956 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/9.149, allocations: 0 / 3.956 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/9.149, allocations: 262.1 kB / 3.956 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/9.152, allocations: 471.4 kB / 3.957 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/9.157, allocations: 1.468 MB / 3.958 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/9.158, allocations: 0.9941 MB / 3.959 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001337/9.159, allocations: 262.1 kB / 3.959 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/9.159, allocations: 50.98 kB / 3.959 GB, free: 219.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/9.159, allocations: 0 / 3.959 GB, free: 219.5 MB / 1.151 GB Notification: Performance of Templates: time 0.04428/9.204, allocations: 27.42 MB / 3.986 GB, free: 219 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches