Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 86.25 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.001053/0.001053, 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.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.82/2.82, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 15.19 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3529, allocations: 159.6 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05529/0.4083, allocations: 56.03 MB / 1.113 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.4281, allocations: 13.72 MB / 1.126 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.4305, allocations: 59.56 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.4325, allocations: 0.5046 MB / 1.127 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006366/0.4389, allocations: 1.779 MB / 1.128 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.4433, allocations: 1.203 MB / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005988/0.4493, allocations: 4.528 MB / 1.134 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.4511, allocations: 0.9058 MB / 1.135 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.4543, allocations: 1.264 MB / 1.136 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.4559, allocations: 0.9839 MB / 1.137 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.456, allocations: 52 kB / 1.137 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.4592, allocations: 1.216 MB / 1.138 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.4595, allocations: 234.9 kB / 1.139 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.4601, allocations: 321 kB / 1.139 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.4627, allocations: 1.913 MB / 1.141 GB, free: 320 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4627, allocations: 0 / 1.141 GB, free: 320 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4627, allocations: 0 / 1.141 GB, free: 320 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.4628, allocations: 4 kB / 1.141 GB, free: 316 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002716/0.4655, allocations: 1.585 MB / 1.142 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4655, allocations: 8.031 kB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.4659, allocations: 162.1 kB / 1.142 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.4679, allocations: 1.25 MB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.468, allocations: 66 kB / 1.144 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4681, allocations: 84 kB / 1.144 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.4697, allocations: 0.9623 MB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4698, allocations: 0 / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.4699, allocations: 39.94 kB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.4699, allocations: 24 kB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.4711, allocations: 0.6635 MB / 1.145 GB, free: 11.31 MB / 0.9044 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.005379/0.4764, allocations: 5.216 MB / 1.151 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.4772, allocations: 406.4 kB / 1.151 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.4775, allocations: 242.1 kB / 1.151 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.4788, allocations: 1.599 MB / 1.153 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.4789, allocations: 42.94 kB / 1.153 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.4789, allocations: 0 / 1.153 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53): time 0.002088/0.481, allocations: 0.9446 MB / 1.154 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.481, allocations: 59.84 kB / 1.154 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4823, allocations: 0.9733 MB / 1.155 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.4824, allocations: 45.64 kB / 1.155 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.4829, allocations: 0.5813 MB / 1.155 GB, free: 372 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.483, allocations: 185.3 kB / 1.156 GB, free: 184 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.4831, allocations: 12 kB / 1.156 GB, free: 172 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4833, allocations: 334 kB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.4837, allocations: 189.6 kB / 1.156 GB, free: 15.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.4843, allocations: 408.9 kB / 1.156 GB, free: 15.17 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.4848, allocations: 258.1 kB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4848, allocations: 4 kB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001748/0.4865, allocations: 0.8228 MB / 1.157 GB, free: 14.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.4867, allocations: 261.1 kB / 1.158 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.4868, allocations: 19.98 kB / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.4873, allocations: 108.8 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.4878, allocations: 135.8 kB / 1.158 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004848/0.4883, allocations: 0.6069 MB / 1.159 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.4892, allocations: 107.2 kB / 1.159 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.4892, allocations: 43.92 kB / 1.159 GB, free: 12.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.4893, allocations: 6.188 kB / 1.159 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001386/0.4906, allocations: 0.6931 MB / 1.159 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.4907, allocations: 8 kB / 1.159 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.4911, allocations: 121.2 kB / 1.159 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.4915, allocations: 139.8 kB / 1.16 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000456/0.492, allocations: 0.5953 MB / 1.16 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.4927, allocations: 103.4 kB / 1.16 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.4928, allocations: 32 kB / 1.16 GB, free: 10.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006059/0.4934, allocations: 384.8 kB / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4936, allocations: 118.5 kB / 1.161 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.4957, allocations: 1.064 MB / 1.162 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.4957, allocations: 11.98 kB / 1.162 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4957, allocations: 0 / 1.162 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/0.497, allocations: 0.8068 MB / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.5003, allocations: 2.087 MB / 1.165 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.5004, allocations: 8.031 kB / 1.165 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.5008, allocations: 99.83 kB / 1.165 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.5011, allocations: 76.69 kB / 1.165 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.5012, allocations: 23.98 kB / 1.165 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003969/0.5016, allocations: 0.5914 MB / 1.165 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5016, allocations: 0 / 1.165 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.5036, allocations: 1.314 MB / 1.167 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.5041, allocations: 315.2 kB / 1.167 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5042, allocations: 23.88 kB / 1.167 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.5049, allocations: 79.78 kB / 1.167 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.505, allocations: 56.67 kB / 1.167 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.5051, allocations: 35.97 kB / 1.167 GB, free: 3.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009252/0.506, allocations: 0.6647 MB / 1.168 GB, free: 3.062 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/0.506, allocations: 0 / 1.168 GB, free: 3.062 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001851/0.5079, allocations: 0.7211 MB / 1.169 GB, free: 2.34 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009963/0.5089, allocations: 0.5507 MB / 1.169 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.5107, allocations: 1.044 MB / 1.17 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5107, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.5113, allocations: 426.5 kB / 1.171 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.5137, allocations: 0.5699 MB / 1.171 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.5176, allocations: 2.718 MB / 1.174 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.5183, allocations: 1.133 MB / 1.175 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001109/0.5195, allocations: 320.7 kB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.5197, allocations: 111.3 kB / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of SimCode: time 9.01e-07/0.5197, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.04261/0.5623, allocations: 25.8 MB / 1.2 GB, free: 1.965 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches