Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001465/0.001465, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.00157/0.00157, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 59.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.3268/1.344, allocations: 239.9 MB / 1.323 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.013/1.357, allocations: 7.204 MB / 1.33 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/1.359, allocations: 55.62 kB / 1.33 GB, free: 6.316 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/1.361, allocations: 0.5202 MB / 1.33 GB, free: 5.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00403/1.365, allocations: 1.38 MB / 1.332 GB, free: 4.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005166/1.37, allocations: 1.712 MB / 1.333 GB, free: 2.703 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00311/1.373, allocations: 2.014 MB / 1.335 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/1.375, allocations: 0.8128 MB / 1.336 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/1.378, allocations: 1.491 MB / 1.338 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/1.38, allocations: 0.677 MB / 1.338 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/1.38, allocations: 80 kB / 1.338 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/1.384, allocations: 1.824 MB / 1.34 GB, free: 11.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/1.385, allocations: 299.1 kB / 1.341 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/1.386, allocations: 497.6 kB / 1.341 GB, free: 11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/1.39, allocations: 1.788 MB / 1.343 GB, free: 9.203 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.39, allocations: 0 / 1.343 GB, free: 9.203 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.056e-06/1.39, allocations: 4 kB / 1.343 GB, free: 9.199 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.854e-05/1.39, allocations: 0 / 1.343 GB, free: 9.199 MB / 1.076 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.003933/1.394, allocations: 1.312 MB / 1.344 GB, free: 7.836 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.394, allocations: 12.03 kB / 1.344 GB, free: 7.824 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/1.396, allocations: 274.6 kB / 1.344 GB, free: 7.555 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.398, allocations: 0.71 MB / 1.345 GB, free: 6.797 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/1.398, allocations: 37 kB / 1.345 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.398, allocations: 52 kB / 1.345 GB, free: 6.711 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.399, allocations: 0.6076 MB / 1.346 GB, free: 6.098 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.399, allocations: 0 / 1.346 GB, free: 6.098 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/1.399, allocations: 28 kB / 1.346 GB, free: 6.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.399, allocations: 8 kB / 1.346 GB, free: 6.062 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/1.401, allocations: 0.6129 MB / 1.346 GB, free: 5.445 MB / 1.076 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.004359/1.405, allocations: 2.61 MB / 1.349 GB, free: 2.605 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.406, allocations: 476.4 kB / 1.349 GB, free: 2.133 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/1.407, allocations: 317.4 kB / 1.35 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/1.407, allocations: 404.7 kB / 1.35 GB, free: 1.348 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.407, allocations: 41.94 kB / 1.35 GB, free: 1.301 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006493/1.408, allocations: 107.5 kB / 1.35 GB, free: 1.195 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 6.242e-06/1.408, allocations: 3.938 kB / 1.35 GB, free: 1.191 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002892/1.411, allocations: 1.114 MB / 1.351 GB, free: 48 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.411, allocations: 55.41 kB / 1.351 GB, free: 15.98 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.412, allocations: 0.653 MB / 1.352 GB, free: 15.32 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/1.412, allocations: 37.7 kB / 1.352 GB, free: 15.27 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/1.413, allocations: 345.1 kB / 1.352 GB, free: 14.93 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.413, allocations: 161.7 kB / 1.352 GB, free: 14.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/1.413, allocations: 102 kB / 1.353 GB, free: 14.67 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.413, allocations: 322 kB / 1.353 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/1.413, allocations: 230.5 kB / 1.353 GB, free: 14.12 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/1.414, allocations: 328.3 kB / 1.353 GB, free: 13.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.415, allocations: 0.5208 MB / 1.354 GB, free: 13.24 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.415, allocations: 0 / 1.354 GB, free: 13.24 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001615/1.417, allocations: 0.734 MB / 1.355 GB, free: 12.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/1.417, allocations: 4 kB / 1.355 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.417, allocations: 4 kB / 1.355 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/1.417, allocations: 88.78 kB / 1.355 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/1.418, allocations: 95.83 kB / 1.355 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/1.418, allocations: 0.6187 MB / 1.355 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/1.419, allocations: 35.95 kB / 1.355 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/1.419, allocations: 19.98 kB / 1.355 GB, free: 11.61 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007357/1.42, allocations: 400.9 kB / 1.356 GB, free: 11.21 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005712/1.421, allocations: 320.3 kB / 1.356 GB, free: 10.87 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/1.422, allocations: 0.5052 MB / 1.357 GB, free: 10.36 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/1.422, allocations: 4.062 kB / 1.357 GB, free: 10.36 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001418/1.423, allocations: 0.6949 MB / 1.357 GB, free: 9.648 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.423, allocations: 4 kB / 1.357 GB, free: 9.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/1.423, allocations: 0 / 1.357 GB, free: 9.645 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/1.423, allocations: 60.81 kB / 1.357 GB, free: 9.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/1.424, allocations: 95.89 kB / 1.357 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/1.426, allocations: 1.869 MB / 1.359 GB, free: 7.484 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/1.426, allocations: 39.84 kB / 1.359 GB, free: 7.445 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/1.426, allocations: 23.97 kB / 1.359 GB, free: 7.422 MB / 1.092 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.0002282/1.427, allocations: 208.2 kB / 1.36 GB, free: 7.211 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/1.427, allocations: 79.25 kB / 1.36 GB, free: 7.133 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.429, allocations: 0.7662 MB / 1.36 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.429, allocations: 3.984 kB / 1.36 GB, free: 6.344 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.429, allocations: 0 / 1.36 GB, free: 6.344 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/1.429, allocations: 204.1 kB / 1.361 GB, free: 6.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.429, allocations: 12 kB / 1.361 GB, free: 6.113 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/1.43, allocations: 39.89 kB / 1.361 GB, free: 6.074 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.43, allocations: 32.39 kB / 1.361 GB, free: 6.043 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/1.431, allocations: 0.7305 MB / 1.361 GB, free: 5.297 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001819/1.433, allocations: 1.107 MB / 1.362 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004916/1.434, allocations: 271.3 kB / 1.363 GB, free: 3.914 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006768/1.434, allocations: 467 kB / 1.363 GB, free: 3.465 MB / 1.092 GB Notification: Performance of Backend: time 8.71e-07/1.434, allocations: 0 / 1.363 GB, free: 3.465 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003184/1.438, allocations: 1.208 MB / 1.364 GB, free: 2.242 MB / 1.092 GB Notification: Performance of SimCode: time 0.003305/1.441, allocations: 2.081 MB / 1.366 GB, free: 124 kB / 1.092 GB Notification: Performance of Templates: time 0.03642/1.477, allocations: 21.78 MB / 1.388 GB, free: 10.59 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches