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 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.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.001117/0.001117, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001218/0.001218, 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.552/1.552, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.93/2.93, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 11.28 kB / 0.9021 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3636, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.9098/1.273, allocations: 218.8 MB / 1.272 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01146/1.285, allocations: 6.759 MB / 1.278 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/1.287, allocations: 45.12 kB / 1.278 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/1.288, allocations: 333 kB / 1.279 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/1.291, allocations: 1.008 MB / 1.28 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/1.295, allocations: 1.168 MB / 1.281 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004221/1.3, allocations: 2.295 MB / 1.283 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/1.301, allocations: 0.6217 MB / 1.284 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/1.304, allocations: 1.151 MB / 1.285 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/1.305, allocations: 0.6391 MB / 1.285 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/1.305, allocations: 45.75 kB / 1.285 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/1.308, allocations: 0.7481 MB / 1.286 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/1.309, allocations: 254.8 kB / 1.286 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/1.309, allocations: 194 kB / 1.287 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/1.311, allocations: 1.042 MB / 1.288 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.311, allocations: 0 / 1.288 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.311, allocations: 0.9062 kB / 1.288 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.73e-05/1.311, allocations: 0 / 1.288 GB, free: 11.49 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.002109/1.313, allocations: 1.116 MB / 1.289 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.313, allocations: 8.781 kB / 1.289 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/1.315, allocations: 282.8 kB / 1.289 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/1.316, allocations: 0.627 MB / 1.29 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/1.316, allocations: 37.66 kB / 1.29 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.316, allocations: 51.22 kB / 1.29 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.317, allocations: 0.6058 MB / 1.29 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.317, allocations: 0 / 1.29 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/1.317, allocations: 22.19 kB / 1.29 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/1.317, allocations: 12.16 kB / 1.29 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.319, allocations: 0.6235 MB / 1.291 GB, free: 10.41 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.003756/1.322, allocations: 2.897 MB / 1.294 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/1.323, allocations: 403.4 kB / 1.294 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/1.323, allocations: 284 kB / 1.294 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/1.324, allocations: 416.3 kB / 1.295 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/1.324, allocations: 41.61 kB / 1.295 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006859/1.325, allocations: 187.8 kB / 1.295 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.184e-06/1.325, allocations: 3.938 kB / 1.295 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001722/1.326, allocations: 0.8293 MB / 1.296 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/1.327, allocations: 55.75 kB / 1.296 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/1.327, allocations: 0.6869 MB / 1.297 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/1.327, allocations: 34.39 kB / 1.297 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/1.328, allocations: 361.1 kB / 1.297 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/1.328, allocations: 136.8 kB / 1.297 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/1.328, allocations: 7.281 kB / 1.297 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/1.328, allocations: 325.6 kB / 1.297 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/1.328, allocations: 208.6 kB / 1.298 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/1.329, allocations: 308.2 kB / 1.298 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/1.329, allocations: 236.3 kB / 1.298 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.329, allocations: 4.859 kB / 1.298 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001058/1.33, allocations: 0.6153 MB / 1.299 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.33, allocations: 10.28 kB / 1.299 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.33, allocations: 1 kB / 1.299 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.33, allocations: 5.859 kB / 1.299 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/1.331, allocations: 104 kB / 1.299 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.331, allocations: 7.016 kB / 1.299 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/1.331, allocations: 64.34 kB / 1.299 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.331, allocations: 21.61 kB / 1.299 GB, free: 7.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002839/1.332, allocations: 218.2 kB / 1.299 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.332, allocations: 85.11 kB / 1.299 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/1.333, allocations: 0.6537 MB / 1.3 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.333, allocations: 4.938 kB / 1.3 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.333, allocations: 0 / 1.3 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/1.333, allocations: 4.188 kB / 1.3 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/1.335, allocations: 1.512 MB / 1.301 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.335, allocations: 3.188 kB / 1.301 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/1.336, allocations: 90.58 kB / 1.301 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.336, allocations: 6.219 kB / 1.301 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/1.336, allocations: 16.05 kB / 1.301 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.336, allocations: 11.86 kB / 1.301 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.336, allocations: 4.469 kB / 1.301 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.337, allocations: 1.047 MB / 1.302 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/1.338, allocations: 201.2 kB / 1.303 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/1.338, allocations: 9.625 kB / 1.303 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/1.338, allocations: 56.83 kB / 1.303 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/1.338, allocations: 38.05 kB / 1.303 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/1.339, allocations: 17.06 kB / 1.303 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005983/1.339, allocations: 494 kB / 1.303 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.339, allocations: 9.031 kB / 1.303 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007504/1.34, allocations: 192.8 kB / 1.303 GB, free: 6.266 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 (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.000454/1.34, allocations: 219.1 kB / 1.304 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000959/1.341, allocations: 0.5078 MB / 1.304 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.341, allocations: 1.344 kB / 1.304 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004791/1.342, allocations: 284 kB / 1.304 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.344, allocations: 492.8 kB / 1.305 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/1.35, allocations: 2.027 MB / 1.307 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/1.35, allocations: 0.9625 MB / 1.308 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001044/1.351, allocations: 170.4 kB / 1.308 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.352, allocations: 67.47 kB / 1.308 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.352, allocations: 0 / 1.308 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.02227/1.374, allocations: 14.6 MB / 1.322 GB, free: 3.043 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