Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|DataReader.y.5.|senTem_in.T|DataReader.y.3.|senTem_out.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|DataReader.y.5.|senTem_in.T|DataReader.y.3.|senTem_out.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.84 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.008637/0.008638, allocations: 169.6 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.491/2.491, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8732/0.8735, allocations: 142.4 MB / 0.955 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07677/0.9503, allocations: 75.04 MB / 1.028 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.9778, allocations: 19.88 MB / 1.048 GB, free: 152 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004537/0.9824, allocations: 67.56 kB / 1.048 GB, free: 84 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.9858, allocations: 0.8003 MB / 1.049 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009582/0.9955, allocations: 2.635 MB / 1.051 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005914/1.001, allocations: 1.889 MB / 1.053 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00898/1.01, allocations: 6.727 MB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/1.013, allocations: 1.365 MB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/1.017, allocations: 1.754 MB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/1.02, allocations: 1.423 MB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002886/1.02, allocations: 76 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/1.024, allocations: 1.785 MB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004304/1.024, allocations: 354.3 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/1.026, allocations: 0.9963 MB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/1.03, allocations: 3.333 MB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.03, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/1.03, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.18e-05/1.031, allocations: 7.938 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003998/1.035, allocations: 2.124 MB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.035, allocations: 8.031 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/1.037, allocations: 437.1 kB / 1.073 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/1.04, allocations: 1.785 MB / 1.075 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/1.04, allocations: 98.42 kB / 1.075 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/1.04, allocations: 120 kB / 1.075 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/1.043, allocations: 1.444 MB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/1.043, allocations: 3.938 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.043, allocations: 56 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/1.043, allocations: 32 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/1.045, allocations: 1.094 MB / 1.077 GB, free: 1.434 MB / 0.8262 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.008248/1.053, allocations: 7.879 MB / 1.085 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/1.057, allocations: 1.085 MB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/1.058, allocations: 443.9 kB / 1.087 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/1.059, allocations: 1.872 MB / 1.088 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.061, allocations: 0.5022 MB / 1.089 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/1.061, allocations: 0 / 1.089 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.00296/1.063, allocations: 1.304 MB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.064, allocations: 89.7 kB / 1.09 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.065, allocations: 1.383 MB / 1.092 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/1.066, allocations: 41.7 kB / 1.092 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/1.066, allocations: 0.8255 MB / 1.092 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/1.067, allocations: 295.8 kB / 1.093 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.067, allocations: 89.67 kB / 1.093 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.067, allocations: 349.9 kB / 1.093 GB, free: 196 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/1.068, allocations: 370.4 kB / 1.094 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/1.069, allocations: 0.6793 MB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/1.071, allocations: 1.091 MB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.071, allocations: 0 / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002523/1.073, allocations: 1.265 MB / 1.096 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002269/1.073, allocations: 357.3 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.073, allocations: 8 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.073, allocations: 16 kB / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/1.074, allocations: 259.6 kB / 1.097 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/1.074, allocations: 19.94 kB / 1.097 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.076, allocations: 194.6 kB / 1.097 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.076, allocations: 59.97 kB / 1.097 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/1.076, allocations: 4 kB / 1.097 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00214/1.078, allocations: 1.089 MB / 1.098 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.078, allocations: 11.94 kB / 1.098 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.078, allocations: 16 kB / 1.098 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/1.079, allocations: 260.2 kB / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.079, allocations: 15.94 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.08, allocations: 177.9 kB / 1.099 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.08, allocations: 55.98 kB / 1.099 GB, free: 9.887 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007499/1.081, allocations: 448.7 kB / 1.099 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/1.081, allocations: 162 kB / 1.1 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/1.084, allocations: 1.493 MB / 1.101 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.084, allocations: 23.98 kB / 1.101 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.084, allocations: 0 / 1.101 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/1.086, allocations: 1.113 MB / 1.102 GB, free: 6.637 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 postOpt removeSimpleEquations (simulation): time 0.004809/1.091, allocations: 2.934 MB / 1.105 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.091, allocations: 4 kB / 1.105 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008067/1.092, allocations: 191.8 kB / 1.105 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.092, allocations: 8 kB / 1.105 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/1.092, allocations: 23.98 kB / 1.105 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.092, allocations: 4 kB / 1.105 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.092, allocations: 7.938 kB / 1.105 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/1.095, allocations: 1.934 MB / 1.107 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006698/1.096, allocations: 410.5 kB / 1.107 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.096, allocations: 20 kB / 1.107 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.097, allocations: 131.8 kB / 1.108 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.098, allocations: 76.83 kB / 1.108 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/1.098, allocations: 43.97 kB / 1.108 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001349/1.099, allocations: 0.9279 MB / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.099, allocations: 0 / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002578/1.102, allocations: 0.9822 MB / 1.11 GB, free: 14.83 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/1.104, allocations: 0.9692 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003424/1.107, allocations: 1.719 MB / 1.112 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.107, allocations: 0 / 1.112 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.108, allocations: 0.6229 MB / 1.113 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/1.112, allocations: 0.7445 MB / 1.114 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/1.12, allocations: 4.045 MB / 1.118 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/1.121, allocations: 1.323 MB / 1.119 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001785/1.122, allocations: 447.4 kB / 1.119 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/1.123, allocations: 171.3 kB / 1.119 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.004e-06/1.123, allocations: 0 / 1.119 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.0558/1.179, allocations: 33.61 MB / 1.152 GB, free: 3.699 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches