Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlugFlowULg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|DataReader.y.5.|senTem_in.T|DataReader.y.3.|senTem_out.T",fileNamePrefix="Buildings_10_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_10_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.001184/0.001184, allocations: 86.64 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.001612/0.001612, 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.297 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.752/2.752, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005229, allocations: 8 kB / 0.8722 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9121/0.9126, allocations: 153.8 MB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.0628/0.9755, allocations: 70.94 MB / 1.092 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02491/1, allocations: 18.76 MB / 1.11 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/1.003, allocations: 67.56 kB / 1.11 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/1.006, allocations: 0.6909 MB / 1.111 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/1.013, allocations: 2.269 MB / 1.113 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005077/1.018, allocations: 1.537 MB / 1.114 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007663/1.026, allocations: 5.786 MB / 1.12 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/1.028, allocations: 1.232 MB / 1.121 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/1.032, allocations: 1.68 MB / 1.123 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/1.034, allocations: 1.346 MB / 1.124 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/1.034, allocations: 72 kB / 1.124 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/1.037, allocations: 1.392 MB / 1.126 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/1.038, allocations: 338.3 kB / 1.126 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007214/1.038, allocations: 420.7 kB / 1.126 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/1.042, allocations: 2.47 MB / 1.129 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.042, allocations: 0 / 1.129 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.323e-06/1.042, allocations: 0 / 1.129 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.794e-05/1.042, allocations: 0 / 1.129 GB, free: 2.809 MB / 0.8731 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.003798/1.045, allocations: 2.147 MB / 1.131 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.046, allocations: 16.02 kB / 1.131 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.047, allocations: 433.1 kB / 1.131 GB, free: 164 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/1.05, allocations: 1.716 MB / 1.133 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/1.05, allocations: 94.44 kB / 1.133 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.051, allocations: 128 kB / 1.133 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/1.053, allocations: 1.433 MB / 1.135 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/1.053, allocations: 3.906 kB / 1.135 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.053, allocations: 63.92 kB / 1.135 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/1.053, allocations: 35.98 kB / 1.135 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/1.055, allocations: 1.09 MB / 1.136 GB, free: 11.43 MB / 0.8887 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.008583/1.064, allocations: 7.852 MB / 1.143 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/1.067, allocations: 1.066 MB / 1.145 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/1.068, allocations: 451.8 kB / 1.145 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/1.07, allocations: 1.868 MB / 1.147 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/1.071, allocations: 0.5062 MB / 1.147 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/1.071, allocations: 0 / 1.147 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.002926/1.074, allocations: 1.296 MB / 1.149 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.074, allocations: 85.77 kB / 1.149 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.076, allocations: 1.371 MB / 1.15 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/1.076, allocations: 49.64 kB / 1.15 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/1.077, allocations: 0.8216 MB / 1.151 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/1.077, allocations: 299.8 kB / 1.151 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/1.077, allocations: 20 kB / 1.151 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.077, allocations: 345.9 kB / 1.151 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/1.078, allocations: 370.4 kB / 1.152 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009271/1.079, allocations: 0.6754 MB / 1.152 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/1.08, allocations: 470.7 kB / 1.153 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.08, allocations: 4 kB / 1.153 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002481/1.082, allocations: 1.249 MB / 1.154 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.082, allocations: 362 kB / 1.154 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.082, allocations: 12 kB / 1.154 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.082, allocations: 16 kB / 1.154 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/1.083, allocations: 259.6 kB / 1.155 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/1.083, allocations: 19.94 kB / 1.155 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.085, allocations: 190.8 kB / 1.155 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.085, allocations: 55.97 kB / 1.155 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/1.085, allocations: 4 kB / 1.155 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002022/1.087, allocations: 1.082 MB / 1.156 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.087, allocations: 16 kB / 1.156 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.087, allocations: 16 kB / 1.156 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/1.088, allocations: 259.9 kB / 1.156 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/1.088, allocations: 15.94 kB / 1.156 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.089, allocations: 175 kB / 1.157 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.512e-05/1.089, allocations: 55.94 kB / 1.157 GB, free: 4.805 MB / 0.9044 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.0007645/1.09, allocations: 441.3 kB / 1.157 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/1.09, allocations: 165.9 kB / 1.157 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/1.093, allocations: 1.481 MB / 1.159 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.093, allocations: 19.98 kB / 1.159 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.093, allocations: 0 / 1.159 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001843/1.095, allocations: 1.102 MB / 1.16 GB, free: 1.578 MB / 0.9044 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.004705/1.1, allocations: 2.939 MB / 1.163 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.1, allocations: 4 kB / 1.163 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/1.1, allocations: 199.7 kB / 1.163 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/1.1, allocations: 4 kB / 1.163 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/1.101, allocations: 31.98 kB / 1.163 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.101, allocations: 4 kB / 1.163 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.101, allocations: 0 / 1.163 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.104, allocations: 1.919 MB / 1.165 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/1.105, allocations: 406.6 kB / 1.165 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.105, allocations: 23.89 kB / 1.165 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/1.106, allocations: 135.7 kB / 1.165 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.106, allocations: 76.89 kB / 1.165 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/1.106, allocations: 43.97 kB / 1.165 GB, free: 11.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001446/1.108, allocations: 0.9123 MB / 1.166 GB, free: 10.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/1.108, allocations: 0 / 1.166 GB, free: 10.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002868/1.111, allocations: 0.9783 MB / 1.167 GB, free: 9.793 MB / 0.92 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.002217/1.113, allocations: 0.9535 MB / 1.168 GB, free: 9.023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00333/1.116, allocations: 1.7 MB / 1.17 GB, free: 7.301 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.116, allocations: 8.188 kB / 1.17 GB, free: 7.293 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.117, allocations: 0.6182 MB / 1.17 GB, free: 6.668 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.121, allocations: 0.7402 MB / 1.171 GB, free: 5.938 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007727/1.129, allocations: 3.986 MB / 1.175 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/1.13, allocations: 1.327 MB / 1.176 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001993/1.132, allocations: 454.8 kB / 1.177 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/1.132, allocations: 167.3 kB / 1.177 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of SimCode: time 1.383e-06/1.132, allocations: 0 / 1.177 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of Templates: time 0.05553/1.188, allocations: 32.77 MB / 1.209 GB, free: 15.65 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches