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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001011/0.001011, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008727/0.008727, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 9.562 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.8437/1.177, allocations: 234.6 MB / 1.288 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01132/1.189, allocations: 7.217 MB / 1.295 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/1.191, allocations: 47.62 kB / 1.295 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/1.192, allocations: 424.4 kB / 1.295 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/1.196, allocations: 1.236 MB / 1.296 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005126/1.201, allocations: 1.563 MB / 1.298 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004888/1.206, allocations: 2.762 MB / 1.301 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/1.207, allocations: 0.6771 MB / 1.301 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/1.21, allocations: 1.309 MB / 1.303 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/1.212, allocations: 0.6801 MB / 1.303 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/1.212, allocations: 42.72 kB / 1.303 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/1.216, allocations: 2.083 MB / 1.305 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003462/1.217, allocations: 276.4 kB / 1.306 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008481/1.218, allocations: 478.7 kB / 1.306 GB, free: 18.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/1.222, allocations: 1.836 MB / 1.308 GB, free: 18.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.222, allocations: 0 / 1.308 GB, free: 18.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.056e-06/1.222, allocations: 1.281 kB / 1.308 GB, free: 18.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.154e-05/1.222, allocations: 0 / 1.308 GB, free: 18.01 MB / 1.014 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.002695/1.224, allocations: 1.149 MB / 1.309 GB, free: 17.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.225, allocations: 12.38 kB / 1.309 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/1.226, allocations: 280.1 kB / 1.309 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/1.228, allocations: 0.6617 MB / 1.31 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/1.228, allocations: 37.5 kB / 1.31 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.228, allocations: 56.75 kB / 1.31 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.229, allocations: 0.615 MB / 1.311 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.229, allocations: 6.844 kB / 1.311 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/1.229, allocations: 18.31 kB / 1.311 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.229, allocations: 13.86 kB / 1.311 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/1.23, allocations: 0.6322 MB / 1.311 GB, free: 16.88 MB / 1.014 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.003868/1.234, allocations: 2.635 MB / 1.314 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/1.235, allocations: 487.5 kB / 1.314 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/1.236, allocations: 323.1 kB / 1.315 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008042/1.237, allocations: 420 kB / 1.315 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.237, allocations: 44.81 kB / 1.315 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008682/1.238, allocations: 183.7 kB / 1.315 GB, free: 15.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 3.006e-06/1.238, allocations: 2.906 kB / 1.315 GB, free: 15.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002856/1.241, allocations: 1.121 MB / 1.316 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.241, allocations: 59.34 kB / 1.316 GB, free: 14.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/1.242, allocations: 0.6561 MB / 1.317 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/1.242, allocations: 37.11 kB / 1.317 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/1.242, allocations: 345.5 kB / 1.317 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.242, allocations: 154.5 kB / 1.318 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/1.242, allocations: 40.62 kB / 1.318 GB, free: 14.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.242, allocations: 333.1 kB / 1.318 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/1.243, allocations: 226 kB / 1.318 GB, free: 14.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/1.243, allocations: 323.4 kB / 1.318 GB, free: 14.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/1.244, allocations: 0.5265 MB / 1.319 GB, free: 13.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.244, allocations: 0 / 1.319 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001526/1.246, allocations: 0.7397 MB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/1.246, allocations: 107.4 kB / 1.32 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.246, allocations: 0 / 1.32 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/1.246, allocations: 99.62 kB / 1.32 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/1.247, allocations: 97.89 kB / 1.32 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005996/1.247, allocations: 0.6245 MB / 1.321 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/1.248, allocations: 71.22 kB / 1.321 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/1.248, allocations: 25.33 kB / 1.321 GB, free: 13.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/1.248, allocations: 3.375 kB / 1.321 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/1.25, allocations: 0.5981 MB / 1.321 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/1.25, allocations: 0 / 1.321 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/1.25, allocations: 59.84 kB / 1.321 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/1.25, allocations: 97.45 kB / 1.321 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/1.252, allocations: 1.696 MB / 1.323 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/1.253, allocations: 68.48 kB / 1.323 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/1.253, allocations: 21.41 kB / 1.323 GB, free: 11.84 MB / 1.014 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.0005604/1.253, allocations: 288.7 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/1.254, allocations: 76.62 kB / 1.323 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.255, allocations: 0.7792 MB / 1.324 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.255, allocations: 6.844 kB / 1.324 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.255, allocations: 3.469 kB / 1.324 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.255, allocations: 7.031 kB / 1.324 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/1.258, allocations: 1.689 MB / 1.326 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.258, allocations: 3.344 kB / 1.326 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/1.258, allocations: 86.91 kB / 1.326 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001666/1.258, allocations: 61.12 kB / 1.326 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/1.258, allocations: 13.81 kB / 1.326 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004221/1.259, allocations: 0.6278 MB / 1.327 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.259, allocations: 10.98 kB / 1.327 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/1.261, allocations: 1.192 MB / 1.328 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/1.261, allocations: 202.3 kB / 1.328 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/1.261, allocations: 17.88 kB / 1.328 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/1.262, allocations: 75.44 kB / 1.328 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/1.262, allocations: 38.14 kB / 1.328 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/1.262, allocations: 20.08 kB / 1.328 GB, free: 10.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005507/1.262, allocations: 469.4 kB / 1.329 GB, free: 9.941 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.052e-06/1.262, allocations: 4 kB / 1.329 GB, free: 9.938 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001133/1.264, allocations: 376.8 kB / 1.329 GB, free: 9.902 MB / 1.014 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.0004742/1.264, allocations: 239.5 kB / 1.329 GB, free: 9.773 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.266, allocations: 0.991 MB / 1.33 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.266, allocations: 5.656 kB / 1.33 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005675/1.266, allocations: 310.3 kB / 1.33 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.269, allocations: 465.6 kB / 1.331 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/1.275, allocations: 2.127 MB / 1.333 GB, free: 8.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/1.275, allocations: 0.9654 MB / 1.334 GB, free: 7.836 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001023/1.276, allocations: 221.9 kB / 1.334 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/1.277, allocations: 66.03 kB / 1.334 GB, free: 7.777 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.277, allocations: 4 kB / 1.334 GB, free: 7.773 MB / 1.014 GB Notification: Performance of Templates: time 0.02698/1.304, allocations: 15.85 MB / 1.35 GB, free: 3.496 MB / 1.014 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches