Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001126/0.001126, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001263/0.001263, allocations: 172.7 kB / 15.95 MB, free: 208 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.709/1.709, 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 10.1.0-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005294, allocations: 11.98 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8269, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0561/0.8831, allocations: 56.04 MB / 1.077 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.9049, allocations: 13.73 MB / 1.091 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.9078, allocations: 51.69 kB / 1.091 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.9097, allocations: 0.4967 MB / 1.091 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006137/0.9159, allocations: 1.784 MB / 1.093 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.9203, allocations: 1.196 MB / 1.094 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00714/0.9274, allocations: 4.545 MB / 1.098 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.9293, allocations: 0.9057 MB / 1.099 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.9324, allocations: 1.264 MB / 1.101 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.9344, allocations: 0.9838 MB / 1.101 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.9346, allocations: 52 kB / 1.102 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.9383, allocations: 1.228 MB / 1.103 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.9386, allocations: 230.9 kB / 1.103 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.9392, allocations: 309 kB / 1.103 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.9427, allocations: 1.921 MB / 1.105 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9427, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9428, allocations: 4 kB / 1.105 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.9428, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.8575 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.003155/0.9459, allocations: 1.577 MB / 1.107 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.946, allocations: 12.02 kB / 1.107 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.9464, allocations: 174.1 kB / 1.107 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.9486, allocations: 1.238 MB / 1.108 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/0.9487, allocations: 65.95 kB / 1.108 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9489, allocations: 88 kB / 1.108 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.9506, allocations: 0.9669 MB / 1.109 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.9506, allocations: 4 kB / 1.109 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/0.9507, allocations: 36 kB / 1.109 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.9508, allocations: 24 kB / 1.109 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.952, allocations: 0.6596 MB / 1.11 GB, free: 6.125 MB / 0.8575 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.00767/0.9597, allocations: 5.22 MB / 1.115 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.9609, allocations: 397.9 kB / 1.115 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.9615, allocations: 238.1 kB / 1.116 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002035/0.9636, allocations: 1.603 MB / 1.117 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.9637, allocations: 43 kB / 1.117 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 6.422e-06/0.9637, allocations: 0 / 1.117 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53): time 0.003914/0.9676, allocations: 0.9368 MB / 1.118 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.9677, allocations: 59.84 kB / 1.118 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.9694, allocations: 0.9733 MB / 1.119 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/0.9695, allocations: 37.7 kB / 1.119 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006162/0.9702, allocations: 0.5774 MB / 1.12 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.9704, allocations: 193.2 kB / 1.12 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.9705, allocations: 12 kB / 1.12 GB, free: 11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003291/0.9708, allocations: 330 kB / 1.12 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.9712, allocations: 201.5 kB / 1.12 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.9717, allocations: 400.9 kB / 1.121 GB, free: 10 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.9721, allocations: 266.1 kB / 1.121 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9721, allocations: 0 / 1.121 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001769/0.9739, allocations: 0.834 MB / 1.122 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003548/0.9743, allocations: 257.6 kB / 1.122 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.9743, allocations: 8 kB / 1.122 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/0.9749, allocations: 104.8 kB / 1.122 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.9753, allocations: 147.7 kB / 1.122 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005489/0.9759, allocations: 0.5991 MB / 1.123 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.9768, allocations: 115.3 kB / 1.123 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.9769, allocations: 36 kB / 1.123 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.9769, allocations: 4 kB / 1.123 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/0.9784, allocations: 0.7012 MB / 1.124 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.9784, allocations: 8 kB / 1.124 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.9788, allocations: 104.8 kB / 1.124 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.9793, allocations: 143.9 kB / 1.124 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005485/0.9799, allocations: 0.5992 MB / 1.125 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.9808, allocations: 107.3 kB / 1.125 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.9809, allocations: 36.12 kB / 1.125 GB, free: 5.805 MB / 0.8731 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.0007344/0.9816, allocations: 372.9 kB / 1.125 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.9819, allocations: 130.5 kB / 1.125 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.9844, allocations: 1.074 MB / 1.126 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.9845, allocations: 11.98 kB / 1.126 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.9845, allocations: 0 / 1.126 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.9858, allocations: 0.8031 MB / 1.127 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.9899, allocations: 2.094 MB / 1.129 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.99, allocations: 0 / 1.129 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.9904, allocations: 103.9 kB / 1.129 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.9907, allocations: 68.91 kB / 1.129 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.9908, allocations: 27.94 kB / 1.129 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004394/0.9913, allocations: 0.5836 MB / 1.13 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9913, allocations: 4.031 kB / 1.13 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.9935, allocations: 1.314 MB / 1.131 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/0.9942, allocations: 315.3 kB / 1.131 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.9944, allocations: 20 kB / 1.131 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.9952, allocations: 75.92 kB / 1.132 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.9953, allocations: 52.44 kB / 1.132 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/0.9954, allocations: 31.98 kB / 1.132 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001252/0.9966, allocations: 0.6725 MB / 1.132 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9967, allocations: 0 / 1.132 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002425/0.9991, allocations: 0.7327 MB / 1.133 GB, free: 13.15 MB / 0.8887 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.001354/1, allocations: 0.5426 MB / 1.134 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.003, allocations: 1.048 MB / 1.135 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.003, allocations: 0 / 1.135 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006416/1.003, allocations: 427 kB / 1.135 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.006, allocations: 0.5818 MB / 1.136 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/1.011, allocations: 2.708 MB / 1.138 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/1.012, allocations: 1.137 MB / 1.139 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001196/1.013, allocations: 310.2 kB / 1.14 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.013, allocations: 103.4 kB / 1.14 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of SimCode: time 2.104e-06/1.013, allocations: 0 / 1.14 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of Templates: time 0.0466/1.06, allocations: 25.81 MB / 1.165 GB, free: 12.78 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches