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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001109/0.001109, allocations: 91.38 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.01071/0.01071, allocations: 169 kB / 16.26 MB, free: 6.613 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.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004045, allocations: 11.94 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7961, allocations: 142.4 MB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.07134/0.8675, allocations: 59.27 MB / 1.013 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02454/0.8921, allocations: 14.57 MB / 1.027 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.8958, allocations: 55.62 kB / 1.027 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.8984, allocations: 0.5788 MB / 1.028 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007953/0.9064, allocations: 2.081 MB / 1.03 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.9117, allocations: 1.497 MB / 1.031 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00776/0.9194, allocations: 5.277 MB / 1.036 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.9218, allocations: 1.039 MB / 1.037 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.9258, allocations: 1.314 MB / 1.039 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.9282, allocations: 1.054 MB / 1.04 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.9286, allocations: 52 kB / 1.04 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.9331, allocations: 1.586 MB / 1.041 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.9336, allocations: 250.8 kB / 1.042 GB, free: 6.477 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.9352, allocations: 0.7168 MB / 1.042 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006286/0.9415, allocations: 2.613 MB / 1.045 GB, free: 3.129 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9416, allocations: 0 / 1.045 GB, free: 3.129 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9416, allocations: 0 / 1.045 GB, free: 3.129 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.692e-05/0.9417, allocations: 0 / 1.045 GB, free: 3.129 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.004399/0.9461, allocations: 1.573 MB / 1.046 GB, free: 1.504 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.9461, allocations: 8.031 kB / 1.046 GB, free: 1.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007168/0.9469, allocations: 166.8 kB / 1.047 GB, free: 1.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.9499, allocations: 1.294 MB / 1.048 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.95, allocations: 69.94 kB / 1.048 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.9502, allocations: 84 kB / 1.048 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.9522, allocations: 0.9591 MB / 1.049 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.9522, allocations: 4 kB / 1.049 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.9523, allocations: 35.98 kB / 1.049 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.9524, allocations: 28 kB / 1.049 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.9538, allocations: 0.6713 MB / 1.05 GB, free: 14.09 MB / 0.8106 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.007016/0.9608, allocations: 5.212 MB / 1.055 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008478/0.9617, allocations: 400.5 kB / 1.055 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.9621, allocations: 247.4 kB / 1.055 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.9637, allocations: 1.607 MB / 1.057 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.9637, allocations: 35 kB / 1.057 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 2.885e-06/0.9637, allocations: 3.938 kB / 1.057 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.002515/0.9663, allocations: 0.9485 MB / 1.058 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.9663, allocations: 55.84 kB / 1.058 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.968, allocations: 0.9928 MB / 1.059 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.9681, allocations: 33.7 kB / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.9686, allocations: 0.5774 MB / 1.059 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.9689, allocations: 185.3 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.969, allocations: 61.69 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9691, allocations: 334 kB / 1.06 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.9695, allocations: 201.5 kB / 1.06 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.97, allocations: 398.5 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.971, allocations: 0.6256 MB / 1.061 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.971, allocations: 4 kB / 1.061 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001791/0.9728, allocations: 0.8418 MB / 1.062 GB, free: 332 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002264/0.973, allocations: 261.5 kB / 1.062 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.9731, allocations: 8 kB / 1.062 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.9737, allocations: 108.8 kB / 1.062 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.9741, allocations: 143.7 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/0.9747, allocations: 0.5992 MB / 1.063 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/0.9757, allocations: 115.2 kB / 1.063 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.9758, allocations: 35.98 kB / 1.063 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.9758, allocations: 4 kB / 1.063 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/0.9773, allocations: 0.7125 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.9774, allocations: 8 kB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.9779, allocations: 121.2 kB / 1.064 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.9783, allocations: 135.8 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005004/0.9788, allocations: 0.5952 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.9798, allocations: 103.4 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.9799, allocations: 43.92 kB / 1.065 GB, free: 13.21 MB / 0.8262 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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006394/0.9805, allocations: 378.8 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.9808, allocations: 110.8 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.983, allocations: 1.082 MB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.983, allocations: 16 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.983, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/0.9843, allocations: 0.803 MB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.9882, allocations: 2.094 MB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.9882, allocations: 3.938 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.9886, allocations: 108 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.989, allocations: 68.81 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/0.9891, allocations: 23.98 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004849/0.9896, allocations: 0.5914 MB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.9896, allocations: 3.938 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.992, allocations: 1.318 MB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.9927, allocations: 315.3 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.993, allocations: 12 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/0.9939, allocations: 88.33 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.994, allocations: 52.42 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.9941, allocations: 31.98 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001407/0.9955, allocations: 0.6765 MB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9955, allocations: 0 / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002956/0.9985, allocations: 0.7366 MB / 1.073 GB, free: 4.535 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/1, allocations: 0.568 MB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00225/1.002, allocations: 1.056 MB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.002, allocations: 0 / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/1.003, allocations: 434.5 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/1.007, allocations: 0.582 MB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/1.011, allocations: 2.697 MB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000997/1.012, allocations: 1.129 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001396/1.014, allocations: 313.8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.014, allocations: 107.3 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of SimCode: time 1.172e-06/1.014, allocations: 4 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.05102/1.065, allocations: 26.47 MB / 1.106 GB, free: 3.465 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