Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001065/0.001065, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01063/0.01063, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.551/1.551, 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.1.0-maint.11.x/package.mo): time 3.055/3.055, allocations: 470.6 MB / 0.7442 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 7.062 kB / 0.9123 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3928, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 1.069/1.462, allocations: 234.6 MB / 1.299 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01271/1.475, allocations: 7.227 MB / 1.306 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/1.477, allocations: 45.09 kB / 1.306 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/1.479, allocations: 424.6 kB / 1.306 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004419/1.484, allocations: 1.239 MB / 1.308 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005067/1.489, allocations: 1.561 MB / 1.309 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0055/1.494, allocations: 2.768 MB / 1.312 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/1.496, allocations: 0.6738 MB / 1.313 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/1.5, allocations: 1.306 MB / 1.314 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/1.502, allocations: 0.6773 MB / 1.314 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/1.502, allocations: 43.78 kB / 1.315 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.507, allocations: 2.089 MB / 1.317 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/1.507, allocations: 272 kB / 1.317 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/1.509, allocations: 471.8 kB / 1.317 GB, free: 20.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/1.513, allocations: 1.84 MB / 1.319 GB, free: 20.15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/1.513, allocations: 1.75 kB / 1.319 GB, free: 20.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.963e-06/1.513, allocations: 0 / 1.319 GB, free: 20.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.909e-05/1.513, allocations: 0 / 1.319 GB, free: 20.15 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.002766/1.516, allocations: 1.148 MB / 1.32 GB, free: 19.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.516, allocations: 9.562 kB / 1.32 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/1.518, allocations: 284.6 kB / 1.32 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.519, allocations: 0.6683 MB / 1.321 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/1.519, allocations: 40.67 kB / 1.321 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.519, allocations: 55 kB / 1.321 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/1.521, allocations: 0.6144 MB / 1.322 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.521, allocations: 0 / 1.322 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/1.521, allocations: 19.44 kB / 1.322 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.521, allocations: 11.75 kB / 1.322 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.522, allocations: 0.6316 MB / 1.322 GB, free: 19 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.004137/1.526, allocations: 2.642 MB / 1.325 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.527, allocations: 496.6 kB / 1.326 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/1.528, allocations: 325.3 kB / 1.326 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009427/1.529, allocations: 417.6 kB / 1.326 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.529, allocations: 40.31 kB / 1.326 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001149/1.53, allocations: 188.5 kB / 1.326 GB, free: 17.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 3.887e-06/1.53, allocations: 1.859 kB / 1.326 GB, free: 17.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003609/1.534, allocations: 1.129 MB / 1.328 GB, free: 16.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/1.534, allocations: 54.78 kB / 1.328 GB, free: 16.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.535, allocations: 0.6549 MB / 1.328 GB, free: 16.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.535, allocations: 36.45 kB / 1.328 GB, free: 16.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/1.536, allocations: 342.3 kB / 1.329 GB, free: 16.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/1.536, allocations: 156.2 kB / 1.329 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/1.536, allocations: 43.69 kB / 1.329 GB, free: 16.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.536, allocations: 326.5 kB / 1.329 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/1.537, allocations: 226.6 kB / 1.329 GB, free: 16.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/1.537, allocations: 331.2 kB / 1.33 GB, free: 16.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/1.538, allocations: 0.5223 MB / 1.33 GB, free: 16.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.538, allocations: 7.344 kB / 1.33 GB, free: 16.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001576/1.54, allocations: 0.7221 MB / 1.331 GB, free: 15.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/1.54, allocations: 116.6 kB / 1.331 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.54, allocations: 5.688 kB / 1.331 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/1.54, allocations: 90.25 kB / 1.331 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/1.541, allocations: 100.5 kB / 1.331 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005842/1.541, allocations: 0.6214 MB / 1.332 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/1.542, allocations: 67.12 kB / 1.332 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/1.542, allocations: 25.42 kB / 1.332 GB, free: 15.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.542, allocations: 5.531 kB / 1.332 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/1.544, allocations: 0.5987 MB / 1.332 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.544, allocations: 1.156 kB / 1.332 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/1.544, allocations: 58.66 kB / 1.332 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/1.544, allocations: 100.4 kB / 1.333 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/1.546, allocations: 1.698 MB / 1.334 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/1.547, allocations: 65.45 kB / 1.334 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/1.547, allocations: 17.75 kB / 1.334 GB, free: 13.94 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.0005209/1.548, allocations: 305.1 kB / 1.335 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.548, allocations: 80.38 kB / 1.335 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/1.55, allocations: 0.7724 MB / 1.335 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.55, allocations: 3.531 kB / 1.335 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/1.55, allocations: 1.859 kB / 1.335 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.55, allocations: 3 kB / 1.335 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.552, allocations: 1.675 MB / 1.337 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.552, allocations: 5.438 kB / 1.337 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/1.553, allocations: 86.78 kB / 1.337 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/1.553, allocations: 74.36 kB / 1.337 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/1.553, allocations: 19.53 kB / 1.337 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006282/1.554, allocations: 0.6182 MB / 1.338 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.554, allocations: 5.625 kB / 1.338 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/1.556, allocations: 1.193 MB / 1.339 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/1.556, allocations: 209.8 kB / 1.339 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/1.556, allocations: 15.91 kB / 1.339 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/1.557, allocations: 73.12 kB / 1.339 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.557, allocations: 47.67 kB / 1.339 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/1.557, allocations: 20.59 kB / 1.339 GB, free: 12.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007125/1.558, allocations: 472.4 kB / 1.34 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.558, allocations: 0 / 1.34 GB, free: 12.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001281/1.559, allocations: 380.2 kB / 1.34 GB, free: 12.01 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.0005554/1.56, allocations: 227.2 kB / 1.34 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.562, allocations: 0.991 MB / 1.341 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.562, allocations: 0 / 1.341 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/1.563, allocations: 320.2 kB / 1.342 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.565, allocations: 473.6 kB / 1.342 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/1.571, allocations: 2.117 MB / 1.344 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/1.571, allocations: 0.9724 MB / 1.345 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001028/1.572, allocations: 218.5 kB / 1.345 GB, free: 9.887 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.573, allocations: 66.69 kB / 1.345 GB, free: 9.875 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.573, allocations: 1.859 kB / 1.345 GB, free: 9.875 MB / 1.014 GB Notification: Performance of Templates: time 0.02926/1.602, allocations: 15.86 MB / 1.361 GB, free: 4.66 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches