Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008447/0.000849, 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.001153/0.001153, 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.571/1.571, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.596/2.596, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003577, allocations: 8.219 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8558, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05727/0.9131, allocations: 56.04 MB / 1.009 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.9343, allocations: 13.71 MB / 1.023 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.9375, allocations: 55.62 kB / 1.023 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.9403, allocations: 0.5007 MB / 1.023 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007243/0.9476, allocations: 1.788 MB / 1.025 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/0.9524, allocations: 1.2 MB / 1.026 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00755/0.9599, allocations: 4.526 MB / 1.03 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.9625, allocations: 0.9136 MB / 1.031 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.9663, allocations: 1.264 MB / 1.033 GB, free: 15.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.9687, allocations: 0.9917 MB / 1.034 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.9692, allocations: 52 kB / 1.034 GB, free: 14.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/0.9734, allocations: 1.208 MB / 1.035 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.9741, allocations: 242.9 kB / 1.035 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.9751, allocations: 313 kB / 1.035 GB, free: 12.51 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.979, allocations: 1.909 MB / 1.037 GB, free: 10.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.979, allocations: 0 / 1.037 GB, free: 10.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9791, allocations: 4 kB / 1.037 GB, free: 10.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.195e-05/0.9791, allocations: 0 / 1.037 GB, free: 10.59 MB / 0.795 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.004348/0.9835, allocations: 1.588 MB / 1.039 GB, free: 8.945 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9836, allocations: 8.031 kB / 1.039 GB, free: 8.938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007339/0.9843, allocations: 162.1 kB / 1.039 GB, free: 8.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.9875, allocations: 1.25 MB / 1.04 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.9876, allocations: 66 kB / 1.04 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.9877, allocations: 87.98 kB / 1.04 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9898, allocations: 0.9475 MB / 1.041 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.9898, allocations: 4 kB / 1.041 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.9899, allocations: 39.89 kB / 1.041 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.99, allocations: 27.98 kB / 1.041 GB, free: 6.258 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.9912, allocations: 0.6597 MB / 1.042 GB, free: 5.594 MB / 0.795 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.006198/0.9974, allocations: 5.213 MB / 1.047 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.9982, allocations: 404.4 kB / 1.047 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.9986, allocations: 243.4 kB / 1.048 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1, allocations: 1.607 MB / 1.049 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1, allocations: 39 kB / 1.049 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 3.456e-06/1, allocations: 0 / 1.049 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.00241/1.003, allocations: 0.9407 MB / 1.05 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.003, allocations: 55.84 kB / 1.05 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/1.004, allocations: 0.9772 MB / 1.051 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/1.005, allocations: 37.7 kB / 1.051 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/1.005, allocations: 0.5735 MB / 1.052 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/1.005, allocations: 189.2 kB / 1.052 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/1.005, allocations: 19.94 kB / 1.052 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.005, allocations: 337.9 kB / 1.052 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/1.006, allocations: 193.5 kB / 1.052 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/1.006, allocations: 402.5 kB / 1.053 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.007, allocations: 270 kB / 1.053 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.007, allocations: 4 kB / 1.053 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001773/1.009, allocations: 0.8267 MB / 1.054 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/1.009, allocations: 265.1 kB / 1.054 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/1.009, allocations: 8 kB / 1.054 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/1.009, allocations: 108.7 kB / 1.054 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/1.01, allocations: 139.8 kB / 1.054 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004938/1.01, allocations: 0.5991 MB / 1.055 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009682/1.011, allocations: 103.4 kB / 1.055 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.011, allocations: 35.98 kB / 1.055 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.011, allocations: 5.562 kB / 1.055 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001491/1.013, allocations: 0.7086 MB / 1.056 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.013, allocations: 11.98 kB / 1.056 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/1.013, allocations: 109.2 kB / 1.056 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/1.014, allocations: 143.8 kB / 1.056 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004779/1.014, allocations: 0.5991 MB / 1.057 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/1.015, allocations: 103.4 kB / 1.057 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/1.015, allocations: 43.94 kB / 1.057 GB, free: 5.266 MB / 0.8106 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.0007437/1.016, allocations: 368.9 kB / 1.057 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.017, allocations: 114.6 kB / 1.057 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/1.019, allocations: 1.08 MB / 1.058 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.019, allocations: 8 kB / 1.058 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.019, allocations: 0 / 1.058 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/1.02, allocations: 0.8031 MB / 1.059 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/1.024, allocations: 2.09 MB / 1.061 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.024, allocations: 4 kB / 1.061 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/1.024, allocations: 99.88 kB / 1.061 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/1.025, allocations: 68.81 kB / 1.061 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/1.025, allocations: 19.98 kB / 1.061 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004409/1.025, allocations: 0.6031 MB / 1.062 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.025, allocations: 0 / 1.062 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.027, allocations: 1.314 MB / 1.063 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/1.028, allocations: 319.3 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/1.028, allocations: 12 kB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/1.029, allocations: 75.92 kB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.029, allocations: 56.42 kB / 1.064 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/1.029, allocations: 35.92 kB / 1.064 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001138/1.031, allocations: 0.6686 MB / 1.064 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/1.031, allocations: 0 / 1.064 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002369/1.033, allocations: 0.7327 MB / 1.065 GB, free: 12.62 MB / 0.8262 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.001324/1.034, allocations: 0.5448 MB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.036, allocations: 1.052 MB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.036, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/1.037, allocations: 426.5 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.04, allocations: 0.5804 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/1.044, allocations: 2.706 MB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/1.045, allocations: 1.133 MB / 1.071 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001264/1.047, allocations: 308.8 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/1.047, allocations: 111.4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of SimCode: time 2.695e-06/1.047, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of Templates: time 0.04562/1.093, allocations: 25.8 MB / 1.097 GB, free: 12.26 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches