Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001152/0.001157, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.34 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.673/2.673, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.000386, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7375, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.9466/1.684, allocations: 234.6 MB / 1.253 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01253/1.697, allocations: 7.221 MB / 1.26 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/1.699, allocations: 45.38 kB / 1.26 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/1.7, allocations: 429 kB / 1.26 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/1.704, allocations: 1.245 MB / 1.261 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/1.709, allocations: 1.546 MB / 1.263 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005491/1.715, allocations: 2.771 MB / 1.266 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.716, allocations: 0.6846 MB / 1.266 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/1.72, allocations: 1.298 MB / 1.268 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/1.722, allocations: 0.6892 MB / 1.268 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.722, allocations: 43.41 kB / 1.268 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004916/1.727, allocations: 2.092 MB / 1.27 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/1.727, allocations: 263.1 kB / 1.271 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008764/1.728, allocations: 476.1 kB / 1.271 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/1.731, allocations: 1.252 MB / 1.272 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.731, allocations: 1.125 kB / 1.272 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.464e-06/1.731, allocations: 0 / 1.272 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.455e-05/1.731, allocations: 0 / 1.272 GB, free: 7.836 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002358/1.733, allocations: 1.15 MB / 1.273 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.733, allocations: 9.25 kB / 1.273 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/1.735, allocations: 277.9 kB / 1.274 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/1.736, allocations: 0.6664 MB / 1.274 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/1.736, allocations: 40.72 kB / 1.274 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.736, allocations: 53.88 kB / 1.274 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/1.738, allocations: 0.6206 MB / 1.275 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.738, allocations: 3 kB / 1.275 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/1.738, allocations: 20.25 kB / 1.275 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/1.738, allocations: 10.81 kB / 1.275 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/1.739, allocations: 0.6289 MB / 1.276 GB, free: 6.711 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.003561/1.743, allocations: 2.633 MB / 1.278 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/1.744, allocations: 494.1 kB / 1.279 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/1.744, allocations: 323.8 kB / 1.279 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/1.745, allocations: 416.4 kB / 1.279 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/1.745, allocations: 44.41 kB / 1.279 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007285/1.746, allocations: 185.4 kB / 1.28 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 2.475e-06/1.746, allocations: 1 kB / 1.28 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002663/1.748, allocations: 1.129 MB / 1.281 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.748, allocations: 58.25 kB / 1.281 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/1.749, allocations: 0.653 MB / 1.281 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/1.749, allocations: 32.58 kB / 1.281 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/1.749, allocations: 346.3 kB / 1.282 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/1.749, allocations: 158.1 kB / 1.282 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/1.749, allocations: 41.05 kB / 1.282 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/1.75, allocations: 320 kB / 1.282 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/1.75, allocations: 233.7 kB / 1.283 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/1.75, allocations: 331.3 kB / 1.283 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/1.751, allocations: 0.5265 MB / 1.283 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.751, allocations: 0 / 1.283 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001376/1.753, allocations: 0.732 MB / 1.284 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/1.753, allocations: 110.8 kB / 1.284 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.753, allocations: 3 kB / 1.284 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/1.753, allocations: 103.1 kB / 1.284 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/1.754, allocations: 99.34 kB / 1.284 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004199/1.754, allocations: 0.615 MB / 1.285 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/1.755, allocations: 69.69 kB / 1.285 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/1.755, allocations: 25.83 kB / 1.285 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/1.755, allocations: 4.219 kB / 1.285 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/1.756, allocations: 0.596 MB / 1.286 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.756, allocations: 2.906 kB / 1.286 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/1.756, allocations: 64.42 kB / 1.286 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/1.757, allocations: 92.36 kB / 1.286 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/1.758, allocations: 1.7 MB / 1.287 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/1.759, allocations: 66.05 kB / 1.288 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/1.759, allocations: 18.05 kB / 1.288 GB, free: 1.668 MB / 0.9825 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.0003602/1.759, allocations: 297.7 kB / 1.288 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.759, allocations: 76.56 kB / 1.288 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.761, allocations: 0.7883 MB / 1.289 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.761, allocations: 6.25 kB / 1.289 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.761, allocations: 4 kB / 1.289 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.761, allocations: 3 kB / 1.289 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/1.764, allocations: 1.677 MB / 1.29 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.764, allocations: 4.688 kB / 1.29 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/1.764, allocations: 91.72 kB / 1.29 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/1.764, allocations: 70.8 kB / 1.29 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/1.764, allocations: 13.41 kB / 1.29 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003465/1.765, allocations: 0.6282 MB / 1.291 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.765, allocations: 3.594 kB / 1.291 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/1.767, allocations: 1.184 MB / 1.292 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/1.767, allocations: 203.8 kB / 1.292 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/1.767, allocations: 12.48 kB / 1.292 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/1.768, allocations: 76.33 kB / 1.293 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.768, allocations: 43.92 kB / 1.293 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/1.768, allocations: 15.16 kB / 1.293 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006354/1.769, allocations: 468.4 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.769, allocations: 0 / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001273/1.77, allocations: 376.7 kB / 1.293 GB, free: 15.77 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): 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.000547/1.77, allocations: 238.4 kB / 1.294 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.772, allocations: 0.995 MB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.772, allocations: 192 / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005415/1.773, allocations: 315.4 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.775, allocations: 467.2 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/1.781, allocations: 2.182 MB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/1.782, allocations: 0.9608 MB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/1.782, allocations: 69.09 kB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.782, allocations: 0 / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.02389/1.806, allocations: 15.55 MB / 1.314 GB, free: 10.92 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches