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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001171/0.001172, allocations: 177.3 kB / 15.94 MB, free: 228 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.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 8 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8913, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.244/1.135, allocations: 196.6 MB / 1.213 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01257/1.148, allocations: 7.236 MB / 1.22 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/1.15, allocations: 43.69 kB / 1.22 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/1.153, allocations: 0.6727 MB / 1.221 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007626/1.161, allocations: 1.932 MB / 1.222 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/1.167, allocations: 1.621 MB / 1.224 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00326/1.17, allocations: 1.209 MB / 1.225 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/1.171, allocations: 0.6366 MB / 1.226 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/1.175, allocations: 1.192 MB / 1.227 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/1.176, allocations: 486.1 kB / 1.227 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/1.176, allocations: 44 kB / 1.227 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/1.178, allocations: 0.7879 MB / 1.228 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/1.179, allocations: 251.2 kB / 1.229 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/1.179, allocations: 193.3 kB / 1.229 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/1.18, allocations: 1.005 MB / 1.23 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/1.18, allocations: 0 / 1.23 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.616e-06/1.18, allocations: 3.984 kB / 1.23 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.381e-05/1.18, allocations: 0 / 1.23 GB, free: 10.7 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.002363/1.183, allocations: 1.113 MB / 1.231 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.183, allocations: 11.98 kB / 1.231 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/1.186, allocations: 294.6 kB / 1.231 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.187, allocations: 0.6365 MB / 1.232 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/1.187, allocations: 37 kB / 1.232 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.188, allocations: 52 kB / 1.232 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.189, allocations: 0.6154 MB / 1.232 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.189, allocations: 0 / 1.232 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/1.189, allocations: 20 kB / 1.232 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/1.189, allocations: 12 kB / 1.232 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/1.191, allocations: 0.6324 MB / 1.233 GB, free: 7.184 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.005779/1.197, allocations: 2.629 MB / 1.236 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.198, allocations: 0.4996 MB / 1.236 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/1.199, allocations: 149.4 kB / 1.236 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.199, allocations: 34.94 kB / 1.236 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001206/1.2, allocations: 191.4 kB / 1.236 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 3.517e-06/1.2, allocations: 0 / 1.236 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.004079/1.204, allocations: 1.109 MB / 1.238 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.205, allocations: 63.14 kB / 1.238 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.206, allocations: 0.6491 MB / 1.238 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.206, allocations: 33.7 kB / 1.238 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/1.207, allocations: 341.1 kB / 1.239 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/1.207, allocations: 161.7 kB / 1.239 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/1.207, allocations: 8 kB / 1.239 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.207, allocations: 318 kB / 1.239 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/1.207, allocations: 228.7 kB / 1.239 GB, free: 480 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/1.208, allocations: 324.4 kB / 1.24 GB, free: 132 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/1.209, allocations: 260.7 kB / 1.24 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.209, allocations: 0 / 1.24 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00219/1.211, allocations: 0.73 MB / 1.241 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/1.211, allocations: 276.7 kB / 1.241 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.211, allocations: 0 / 1.241 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/1.212, allocations: 84.89 kB / 1.241 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/1.213, allocations: 103.8 kB / 1.241 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006917/1.213, allocations: 0.6225 MB / 1.242 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.215, allocations: 71.94 kB / 1.242 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/1.215, allocations: 15.98 kB / 1.242 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.215, allocations: 4 kB / 1.242 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/1.216, allocations: 0.5927 MB / 1.242 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.216, allocations: 4 kB / 1.242 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/1.217, allocations: 64.84 kB / 1.242 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/1.217, allocations: 95.86 kB / 1.242 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/1.219, allocations: 1.697 MB / 1.244 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.221, allocations: 64.03 kB / 1.244 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/1.221, allocations: 27.97 kB / 1.244 GB, free: 11.23 MB / 0.9981 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.0005961/1.221, allocations: 293 kB / 1.244 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/1.222, allocations: 82.95 kB / 1.244 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.224, allocations: 0.7742 MB / 1.245 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.224, allocations: 8 kB / 1.245 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.224, allocations: 0 / 1.245 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.224, allocations: 7.938 kB / 1.245 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/1.228, allocations: 1.67 MB / 1.247 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.228, allocations: 4 kB / 1.247 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.229, allocations: 100.2 kB / 1.247 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/1.229, allocations: 64.78 kB / 1.247 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/1.229, allocations: 12 kB / 1.247 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005879/1.229, allocations: 0.6225 MB / 1.248 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.229, allocations: 4 kB / 1.248 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/1.232, allocations: 1.335 MB / 1.249 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/1.233, allocations: 212.1 kB / 1.249 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.233, allocations: 12 kB / 1.249 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/1.234, allocations: 67.78 kB / 1.249 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.234, allocations: 47.84 kB / 1.249 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/1.234, allocations: 16 kB / 1.249 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009851/1.235, allocations: 467 kB / 1.25 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.235, allocations: 0 / 1.25 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001882/1.237, allocations: 371.4 kB / 1.25 GB, free: 4.797 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): 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.0006636/1.238, allocations: 231.4 kB / 1.25 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002928/1.241, allocations: 0.979 MB / 1.251 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.241, allocations: 0 / 1.251 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/1.242, allocations: 327.6 kB / 1.252 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.244, allocations: 458.8 kB / 1.252 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/1.25, allocations: 2.062 MB / 1.254 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5679/1.818, allocations: 0.9782 MB / 1.255 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001299/1.819, allocations: 224.8 kB / 1.255 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.82, allocations: 63.22 kB / 1.255 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.194e-06/1.82, allocations: 0 / 1.255 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03755/1.857, allocations: 15.38 MB / 1.27 GB, free: 229.6 MB / 0.9981 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