Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.Examples.FlowJunction,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.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,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.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 87.03 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.001179/0.001179, 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.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.406 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.783/2.783, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003796, allocations: 12 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.859, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2859/1.145, allocations: 218.8 MB / 1.236 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8953/2.04, allocations: 6.796 MB / 1.243 GB, free: 23.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/2.042, allocations: 42.75 kB / 1.243 GB, free: 23.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/2.044, allocations: 463.3 kB / 1.243 GB, free: 23.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005695/2.05, allocations: 1.537 MB / 1.245 GB, free: 23.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005299/2.055, allocations: 1.456 MB / 1.246 GB, free: 23.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007706/2.063, allocations: 3.775 MB / 1.25 GB, free: 23.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/2.065, allocations: 0.8 MB / 1.251 GB, free: 23.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/2.07, allocations: 1.433 MB / 1.252 GB, free: 23.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/2.073, allocations: 0.9078 MB / 1.253 GB, free: 23.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/2.073, allocations: 53.97 kB / 1.253 GB, free: 23.26 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00595/2.079, allocations: 1.39 MB / 1.254 GB, free: 23.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009704/2.08, allocations: 382.6 kB / 1.255 GB, free: 23.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000978/2.081, allocations: 287 kB / 1.255 GB, free: 23.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004256/2.086, allocations: 1.793 MB / 1.257 GB, free: 23.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/2.086, allocations: 0 / 1.257 GB, free: 23.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/2.086, allocations: 0 / 1.257 GB, free: 23.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.101e-05/2.086, allocations: 0 / 1.257 GB, free: 23.06 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003648/2.089, allocations: 1.487 MB / 1.258 GB, free: 22.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/2.089, allocations: 9.281 kB / 1.258 GB, free: 22.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/2.092, allocations: 424 kB / 1.259 GB, free: 22.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/2.094, allocations: 0.9251 MB / 1.259 GB, free: 21.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/2.094, allocations: 67 kB / 1.26 GB, free: 21.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/2.095, allocations: 87.44 kB / 1.26 GB, free: 21.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/2.096, allocations: 0.8733 MB / 1.26 GB, free: 21.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/2.096, allocations: 0 / 1.26 GB, free: 21.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/2.097, allocations: 34.44 kB / 1.261 GB, free: 21.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/2.097, allocations: 26.22 kB / 1.261 GB, free: 21.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/2.098, allocations: 0.824 MB / 1.261 GB, free: 21.73 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.00548/2.104, allocations: 3.646 MB / 1.265 GB, free: 20.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/2.105, allocations: 1.103 MB / 1.266 GB, free: 19.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007295/2.106, allocations: 380 kB / 1.266 GB, free: 19.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/2.107, allocations: 419.7 kB / 1.267 GB, free: 19.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/2.107, allocations: 38.47 kB / 1.267 GB, free: 19.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/2.107, allocations: 1.031 kB / 1.267 GB, free: 19.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.002642/2.11, allocations: 0.9869 MB / 1.268 GB, free: 18.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/2.11, allocations: 57.59 kB / 1.268 GB, free: 18.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/2.111, allocations: 0.8251 MB / 1.269 GB, free: 18.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/2.111, allocations: 41.95 kB / 1.269 GB, free: 18.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/2.112, allocations: 489.1 kB / 1.269 GB, free: 18.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/2.112, allocations: 216.3 kB / 1.269 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/2.112, allocations: 11.31 kB / 1.269 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/2.112, allocations: 327.2 kB / 1.27 GB, free: 18.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/2.112, allocations: 248.9 kB / 1.27 GB, free: 18.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/2.113, allocations: 379.1 kB / 1.27 GB, free: 17.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/2.114, allocations: 306.3 kB / 1.271 GB, free: 17.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.114, allocations: 1.656 kB / 1.271 GB, free: 17.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001625/2.115, allocations: 0.7456 MB / 1.271 GB, free: 17.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/2.115, allocations: 124 kB / 1.271 GB, free: 17.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/2.115, allocations: 1.031 kB / 1.271 GB, free: 17.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/2.115, allocations: 3.906 kB / 1.271 GB, free: 17.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/2.116, allocations: 130.4 kB / 1.271 GB, free: 17.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/2.116, allocations: 6.469 kB / 1.272 GB, free: 17.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/2.117, allocations: 139 kB / 1.272 GB, free: 17.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/2.117, allocations: 20.34 kB / 1.272 GB, free: 17.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/2.117, allocations: 8.25 kB / 1.272 GB, free: 17.71 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/2.118, allocations: 0.6289 MB / 1.272 GB, free: 17.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/2.118, allocations: 2.906 kB / 1.272 GB, free: 17.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/2.118, allocations: 3.094 kB / 1.272 GB, free: 17.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/2.119, allocations: 136.3 kB / 1.272 GB, free: 17.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/2.119, allocations: 3.5 kB / 1.272 GB, free: 17.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/2.12, allocations: 129.2 kB / 1.273 GB, free: 17.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/2.12, allocations: 21.62 kB / 1.273 GB, free: 17.66 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007722/2.121, allocations: 382.7 kB / 1.273 GB, free: 17.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/2.121, allocations: 103.4 kB / 1.273 GB, free: 17.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/2.122, allocations: 0.7644 MB / 1.274 GB, free: 17.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/2.122, allocations: 6.125 kB / 1.274 GB, free: 17.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/2.122, allocations: 0 / 1.274 GB, free: 17.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/2.123, allocations: 0.9241 MB / 1.275 GB, free: 16.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/2.127, allocations: 2.269 MB / 1.277 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/2.127, allocations: 4.188 kB / 1.277 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/2.127, allocations: 137.2 kB / 1.277 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/2.127, allocations: 9.938 kB / 1.277 GB, free: 16.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/2.127, allocations: 22.62 kB / 1.277 GB, free: 16.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/2.127, allocations: 13.52 kB / 1.277 GB, free: 16.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/2.127, allocations: 9.016 kB / 1.277 GB, free: 16.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/2.129, allocations: 1.251 MB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/2.13, allocations: 260.4 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/2.13, allocations: 16.41 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/2.131, allocations: 102.6 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/2.131, allocations: 45.92 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/2.131, allocations: 23.94 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007995/2.132, allocations: 0.5831 MB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/2.132, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001526/2.133, allocations: 0.5355 MB / 1.28 GB, free: 15.52 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (60): * Single equations (assignments): 60 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005562/2.134, allocations: 250.7 kB / 1.28 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00177/2.136, allocations: 0.9557 MB / 1.281 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/2.136, allocations: 3.75 kB / 1.281 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/2.136, allocations: 351 kB / 1.281 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/2.139, allocations: 0.6266 MB / 1.282 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/2.142, allocations: 2.629 MB / 1.285 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/2.143, allocations: 1.121 MB / 1.286 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001196/2.144, allocations: 303.3 kB / 1.286 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/2.144, allocations: 78.66 kB / 1.286 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of SimCode: time 9.62e-07/2.144, allocations: 0 / 1.286 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.03301/2.177, allocations: 19.07 MB / 1.305 GB, free: 9.172 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches