Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.FlowJunctionSteadyStateNoPressureDrop,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.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,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.FlowJunctionSteadyStateNoPressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001785/0.001785, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 65.17 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.8848/1.213, allocations: 237.7 MB / 1.3 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01186/1.225, allocations: 7.231 MB / 1.307 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/1.228, allocations: 48.84 kB / 1.307 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/1.23, allocations: 423.8 kB / 1.307 GB, free: 16.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/1.233, allocations: 1.238 MB / 1.308 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004943/1.238, allocations: 1.472 MB / 1.31 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003685/1.242, allocations: 2.714 MB / 1.313 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/1.243, allocations: 0.6762 MB / 1.313 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/1.247, allocations: 1.297 MB / 1.314 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/1.248, allocations: 0.6859 MB / 1.315 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/1.249, allocations: 48.66 kB / 1.315 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/1.253, allocations: 1.755 MB / 1.317 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/1.253, allocations: 278.7 kB / 1.317 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/1.254, allocations: 456.1 kB / 1.318 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005316/1.26, allocations: 1.7 MB / 1.319 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.26, allocations: 0 / 1.319 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.649e-06/1.26, allocations: 1.125 kB / 1.319 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.258e-05/1.26, allocations: 0 / 1.319 GB, free: 16.05 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004375/1.264, allocations: 1.27 MB / 1.32 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.264, allocations: 10.16 kB / 1.32 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/1.266, allocations: 280.3 kB / 1.321 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.268, allocations: 0.6511 MB / 1.321 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/1.268, allocations: 40.03 kB / 1.321 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.268, allocations: 52.22 kB / 1.321 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.269, allocations: 0.5967 MB / 1.322 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.269, allocations: 1.375 kB / 1.322 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/1.269, allocations: 22 kB / 1.322 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.269, allocations: 11 kB / 1.322 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.271, allocations: 0.6038 MB / 1.323 GB, free: 14.9 MB / 0.9981 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.005379/1.276, allocations: 2.876 MB / 1.325 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.277, allocations: 391.8 kB / 1.326 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/1.278, allocations: 284.8 kB / 1.326 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008664/1.279, allocations: 396.7 kB / 1.327 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.279, allocations: 39.91 kB / 1.327 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001316/1.28, allocations: 194.6 kB / 1.327 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 7.655e-06/1.28, allocations: 0 / 1.327 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.002262/1.282, allocations: 0.7982 MB / 1.328 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/1.282, allocations: 54.16 kB / 1.328 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.283, allocations: 0.6963 MB / 1.328 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/1.283, allocations: 34.8 kB / 1.328 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/1.284, allocations: 362.8 kB / 1.329 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.284, allocations: 137.6 kB / 1.329 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.284, allocations: 90.83 kB / 1.329 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/1.284, allocations: 324.8 kB / 1.329 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/1.285, allocations: 199.1 kB / 1.329 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/1.285, allocations: 297.8 kB / 1.33 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/1.286, allocations: 492.1 kB / 1.33 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/1.286, allocations: 3.938 kB / 1.33 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001213/1.287, allocations: 0.5858 MB / 1.331 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.287, allocations: 5.406 kB / 1.331 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.287, allocations: 5.969 kB / 1.331 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.287, allocations: 6.953 kB / 1.331 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/1.288, allocations: 97.62 kB / 1.331 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.288, allocations: 3.219 kB / 1.331 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/1.289, allocations: 63.61 kB / 1.331 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/1.289, allocations: 20.23 kB / 1.331 GB, free: 11.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003249/1.289, allocations: 220.2 kB / 1.331 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.289, allocations: 79.47 kB / 1.331 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.291, allocations: 0.642 MB / 1.332 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.291, allocations: 3.438 kB / 1.332 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.291, allocations: 1.188 kB / 1.332 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.291, allocations: 7.078 kB / 1.332 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/1.293, allocations: 1.496 MB / 1.333 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.293, allocations: 8.656 kB / 1.333 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/1.294, allocations: 84.66 kB / 1.333 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/1.294, allocations: 10.08 kB / 1.333 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/1.294, allocations: 11.81 kB / 1.333 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/1.294, allocations: 11.91 kB / 1.333 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.294, allocations: 2.844 kB / 1.333 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/1.296, allocations: 1.023 MB / 1.334 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/1.296, allocations: 197.7 kB / 1.335 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.296, allocations: 12.03 kB / 1.335 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/1.297, allocations: 54.27 kB / 1.335 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.297, allocations: 39.55 kB / 1.335 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/1.297, allocations: 13.5 kB / 1.335 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006618/1.298, allocations: 0.4894 MB / 1.335 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.298, allocations: 0 / 1.335 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000949/1.299, allocations: 195.8 kB / 1.335 GB, free: 10.68 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005677/1.299, allocations: 213.7 kB / 1.336 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.3, allocations: 499.1 kB / 1.336 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.3, allocations: 0 / 1.336 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005278/1.301, allocations: 276.3 kB / 1.336 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.303, allocations: 493.3 kB / 1.337 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/1.309, allocations: 2.029 MB / 1.339 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/1.31, allocations: 0.9592 MB / 1.34 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000993/1.311, allocations: 171.9 kB / 1.34 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/1.311, allocations: 67.83 kB / 1.34 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.311, allocations: 4 kB / 1.34 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of Templates: time 0.02659/1.338, allocations: 15.13 MB / 1.355 GB, free: 4.305 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches