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.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.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.001046/0.001046, allocations: 87.03 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.001411/0.001411, 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.262 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.496/2.496, allocations: 390.9 MB / 0.666 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005875/0.0005877, allocations: 8 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7904, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06998/0.8605, allocations: 70.94 MB / 1.024 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.8875, allocations: 18.75 MB / 1.042 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.8911, allocations: 75.5 kB / 1.042 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.8941, allocations: 0.6948 MB / 1.043 GB, free: 4.816 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007653/0.9017, allocations: 2.272 MB / 1.045 GB, free: 2.535 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.9071, allocations: 1.542 MB / 1.046 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009361/0.9165, allocations: 5.78 MB / 1.052 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/0.9193, allocations: 1.232 MB / 1.053 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004783/0.9241, allocations: 1.68 MB / 1.055 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.9274, allocations: 1.342 MB / 1.056 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008648/0.9283, allocations: 76 kB / 1.056 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/0.9336, allocations: 1.388 MB / 1.058 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.9342, allocations: 338.4 kB / 1.058 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009691/0.9351, allocations: 420.6 kB / 1.058 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.939, allocations: 2.463 MB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.939, allocations: 4 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.826e-06/0.939, allocations: 3.938 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.613e-05/0.9391, allocations: 0 / 1.061 GB, free: 2.215 MB / 0.8106 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.004218/0.9433, allocations: 2.147 MB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.9434, allocations: 16.02 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.9451, allocations: 437 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.9487, allocations: 1.712 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.9488, allocations: 94.44 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.949, allocations: 128 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.9517, allocations: 1.433 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.9517, allocations: 7.844 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.9518, allocations: 48 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/0.9519, allocations: 39.98 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.9541, allocations: 1.094 MB / 1.068 GB, free: 10.84 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.009215/0.9634, allocations: 7.852 MB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.9666, allocations: 1.073 MB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.9675, allocations: 451.8 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.9691, allocations: 1.872 MB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.9702, allocations: 0.4944 MB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.306e-06/0.9702, allocations: 0 / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.002957/0.9732, allocations: 1.3 MB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.9732, allocations: 85.77 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.9753, allocations: 1.371 MB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.9754, allocations: 45.7 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.9762, allocations: 0.8217 MB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.9765, allocations: 295.8 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.9766, allocations: 24 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9767, allocations: 349.9 kB / 1.083 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.9775, allocations: 366.4 kB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.9785, allocations: 0.6754 MB / 1.084 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.9795, allocations: 462.7 kB / 1.085 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.9795, allocations: 0 / 1.085 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002908/0.9825, allocations: 1.257 MB / 1.086 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000474/0.983, allocations: 353.5 kB / 1.086 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/0.983, allocations: 15.94 kB / 1.086 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.855e-05/0.9831, allocations: 16 kB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.9841, allocations: 263.6 kB / 1.087 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-05/0.9842, allocations: 19.94 kB / 1.087 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.9862, allocations: 198.2 kB / 1.087 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.9864, allocations: 59.92 kB / 1.087 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9864, allocations: 8 kB / 1.087 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002458/0.9889, allocations: 1.081 MB / 1.088 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.989, allocations: 8 kB / 1.088 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.989, allocations: 16.81 kB / 1.088 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.9899, allocations: 259.6 kB / 1.088 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.758e-05/0.9899, allocations: 19.94 kB / 1.088 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.9914, allocations: 175 kB / 1.089 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.9916, allocations: 52.06 kB / 1.089 GB, free: 4.211 MB / 0.8419 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 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009995/0.9926, allocations: 453.5 kB / 1.089 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/0.9931, allocations: 169.9 kB / 1.089 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.9964, allocations: 1.483 MB / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/0.9965, allocations: 11.98 kB / 1.091 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.9965, allocations: 8 kB / 1.091 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001962/0.9984, allocations: 1.113 MB / 1.092 GB, free: 0.957 MB / 0.8419 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.006002/1.004, allocations: 2.927 MB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.004, allocations: 4.094 kB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/1.005, allocations: 195.8 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/1.005, allocations: 4 kB / 1.095 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/1.005, allocations: 27.98 kB / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/1.005, allocations: 4 kB / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.005, allocations: 4 kB / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/1.009, allocations: 1.923 MB / 1.097 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.01, allocations: 398.6 kB / 1.097 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/1.01, allocations: 24 kB / 1.097 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.012, allocations: 135.7 kB / 1.097 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.012, allocations: 72.89 kB / 1.097 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.012, allocations: 47.91 kB / 1.097 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001824/1.014, allocations: 0.9162 MB / 1.098 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.014, allocations: 0 / 1.098 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003488/1.017, allocations: 0.9744 MB / 1.099 GB, free: 9.188 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002448/1.02, allocations: 0.9605 MB / 1.1 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003759/1.024, allocations: 1.703 MB / 1.102 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.024, allocations: 0 / 1.102 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/1.025, allocations: 0.619 MB / 1.102 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/1.03, allocations: 0.7433 MB / 1.103 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/1.039, allocations: 3.978 MB / 1.107 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.041, allocations: 1.323 MB / 1.108 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003114/1.044, allocations: 458 kB / 1.109 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/1.045, allocations: 163.4 kB / 1.109 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.365e-06/1.045, allocations: 4 kB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.05844/1.103, allocations: 32.77 MB / 1.141 GB, free: 15 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