Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.00117/0.00117, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001664/0.001664, 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.615/1.615, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.008/3.008, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004238, allocations: 8.781 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4151, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.9054/1.321, allocations: 218.8 MB / 1.272 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009983/1.331, allocations: 6.806 MB / 1.278 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/1.332, allocations: 45.19 kB / 1.278 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/1.333, allocations: 337.8 kB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/1.336, allocations: 1.011 MB / 1.28 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/1.34, allocations: 1.242 MB / 1.281 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003882/1.344, allocations: 2.353 MB / 1.283 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.345, allocations: 0.6344 MB / 1.284 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/1.349, allocations: 1.161 MB / 1.285 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.35, allocations: 0.6535 MB / 1.286 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/1.35, allocations: 43.34 kB / 1.286 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/1.354, allocations: 1.077 MB / 1.287 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004631/1.355, allocations: 269.3 kB / 1.287 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004055/1.355, allocations: 191 kB / 1.287 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/1.357, allocations: 1.151 MB / 1.288 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.357, allocations: 0 / 1.288 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.765e-06/1.357, allocations: 1.406 kB / 1.288 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.357, allocations: 4 kB / 1.288 GB, free: 11.39 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002164/1.359, allocations: 1.157 MB / 1.289 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.359, allocations: 8.656 kB / 1.289 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.361, allocations: 285.6 kB / 1.29 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.362, allocations: 0.635 MB / 1.29 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/1.362, allocations: 44.59 kB / 1.29 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.362, allocations: 52.12 kB / 1.29 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.363, allocations: 0.6142 MB / 1.291 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.363, allocations: 0 / 1.291 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-05/1.363, allocations: 19.78 kB / 1.291 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/1.363, allocations: 15.47 kB / 1.291 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/1.365, allocations: 0.6304 MB / 1.292 GB, free: 10.28 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.003271/1.368, allocations: 2.623 MB / 1.294 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/1.369, allocations: 491.1 kB / 1.295 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/1.369, allocations: 323.3 kB / 1.295 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/1.37, allocations: 417.9 kB / 1.295 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/1.37, allocations: 43.12 kB / 1.295 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006163/1.37, allocations: 194.3 kB / 1.296 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/1.37, allocations: 0 / 1.296 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002475/1.373, allocations: 1.118 MB / 1.297 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/1.373, allocations: 55.88 kB / 1.297 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/1.374, allocations: 0.646 MB / 1.297 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/1.374, allocations: 35.67 kB / 1.297 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.374, allocations: 344.8 kB / 1.298 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.842e-05/1.374, allocations: 159 kB / 1.298 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/1.374, allocations: 8.031 kB / 1.298 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/1.374, allocations: 324.4 kB / 1.298 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/1.375, allocations: 225.2 kB / 1.298 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/1.375, allocations: 322 kB / 1.299 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/1.375, allocations: 259.3 kB / 1.299 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.376, allocations: 1.062 kB / 1.299 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001324/1.377, allocations: 0.7219 MB / 1.3 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/1.377, allocations: 113.9 kB / 1.3 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.377, allocations: 0 / 1.3 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/1.377, allocations: 93.47 kB / 1.3 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/1.378, allocations: 95.56 kB / 1.3 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/1.378, allocations: 0.6208 MB / 1.301 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/1.379, allocations: 65.94 kB / 1.301 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/1.379, allocations: 24.02 kB / 1.301 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/1.379, allocations: 3.969 kB / 1.301 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/1.38, allocations: 0.5904 MB / 1.301 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/1.38, allocations: 5 kB / 1.301 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/1.38, allocations: 60.16 kB / 1.301 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/1.381, allocations: 100.3 kB / 1.301 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/1.382, allocations: 1.7 MB / 1.303 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/1.382, allocations: 66.08 kB / 1.303 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/1.383, allocations: 25.14 kB / 1.303 GB, free: 5.289 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003468/1.383, allocations: 289.9 kB / 1.303 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.383, allocations: 80.08 kB / 1.304 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/1.384, allocations: 0.7715 MB / 1.304 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.384, allocations: 5.781 kB / 1.304 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.384, allocations: 3.953 kB / 1.304 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.384, allocations: 3.188 kB / 1.304 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.387, allocations: 1.683 MB / 1.306 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.387, allocations: 3.188 kB / 1.306 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/1.387, allocations: 93.33 kB / 1.306 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/1.388, allocations: 58.39 kB / 1.306 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/1.388, allocations: 16.16 kB / 1.306 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003463/1.388, allocations: 0.6231 MB / 1.307 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.388, allocations: 7.812 kB / 1.307 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/1.39, allocations: 1.189 MB / 1.308 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/1.391, allocations: 208.5 kB / 1.308 GB, free: 19.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/1.391, allocations: 16.2 kB / 1.308 GB, free: 19.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/1.391, allocations: 70.06 kB / 1.308 GB, free: 19.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.391, allocations: 34.81 kB / 1.308 GB, free: 19.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/1.391, allocations: 23.95 kB / 1.308 GB, free: 19.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006119/1.392, allocations: 462.1 kB / 1.309 GB, free: 19.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.392, allocations: 0 / 1.309 GB, free: 19.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001195/1.393, allocations: 378.1 kB / 1.309 GB, free: 19.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000496/1.394, allocations: 227.9 kB / 1.309 GB, free: 19.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001845/1.396, allocations: 0.9919 MB / 1.31 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.396, allocations: 192 / 1.31 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/1.396, allocations: 321.2 kB / 1.31 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.398, allocations: 464.5 kB / 1.311 GB, free: 19.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/1.403, allocations: 2.073 MB / 1.313 GB, free: 18.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/1.403, allocations: 0.9692 MB / 1.314 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008891/1.404, allocations: 224.5 kB / 1.314 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/1.404, allocations: 59.62 kB / 1.314 GB, free: 17.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.404, allocations: 0 / 1.314 GB, free: 17.32 MB / 1.014 GB Notification: Performance of Templates: time 0.02417/1.429, allocations: 15.39 MB / 1.329 GB, free: 14.9 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches