Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001101/0.001102, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001335/0.001334, allocations: 172.7 kB / 15.95 MB, free: 208 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.461/1.461, 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 11.0.0-master/package.mo): time 2.689/2.689, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005384/0.0005385, allocations: 10.66 kB / 0.9021 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3698, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07023/0.4401, allocations: 70.94 MB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.4677, allocations: 18.76 MB / 1.146 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.4706, allocations: 75.56 kB / 1.146 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.473, allocations: 0.6986 MB / 1.146 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.4798, allocations: 2.268 MB / 1.149 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.485, allocations: 1.531 MB / 1.15 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.4922, allocations: 5.79 MB / 1.156 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.4944, allocations: 1.225 MB / 1.157 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.498, allocations: 1.676 MB / 1.159 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.4999, allocations: 1.342 MB / 1.16 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.5001, allocations: 72 kB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.5037, allocations: 1.388 MB / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.5041, allocations: 346.3 kB / 1.162 GB, free: 10.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.5046, allocations: 420.6 kB / 1.162 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.5076, allocations: 2.463 MB / 1.164 GB, free: 8.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5076, allocations: 4 kB / 1.164 GB, free: 8.039 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5076, allocations: 0 / 1.164 GB, free: 8.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.5076, allocations: 0 / 1.164 GB, free: 8.039 MB / 0.92 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.003832/0.5115, allocations: 2.16 MB / 1.167 GB, free: 5.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5115, allocations: 8.031 kB / 1.167 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.5132, allocations: 437 kB / 1.167 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.5165, allocations: 1.708 MB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.5166, allocations: 98.38 kB / 1.169 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5167, allocations: 139.9 kB / 1.169 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.5193, allocations: 1.429 MB / 1.17 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.5193, allocations: 11.92 kB / 1.17 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.5195, allocations: 52 kB / 1.17 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.5195, allocations: 36 kB / 1.17 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.5217, allocations: 1.086 MB / 1.171 GB, free: 0.6602 MB / 0.92 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.008172/0.5299, allocations: 7.864 MB / 1.179 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.5332, allocations: 1.07 MB / 1.18 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/0.534, allocations: 447.7 kB / 1.181 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.5356, allocations: 1.872 MB / 1.182 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5366, allocations: 0.506 MB / 1.183 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 3.847e-06/0.5366, allocations: 0 / 1.183 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.002941/0.5396, allocations: 1.293 MB / 1.184 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.5397, allocations: 85.77 kB / 1.184 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.5416, allocations: 1.371 MB / 1.186 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.5417, allocations: 41.7 kB / 1.186 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/0.5424, allocations: 0.8178 MB / 1.186 GB, free: 224 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.5427, allocations: 299.8 kB / 1.187 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.5428, allocations: 23.94 kB / 1.187 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5429, allocations: 345.9 kB / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.5437, allocations: 370.4 kB / 1.187 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/0.5447, allocations: 0.6793 MB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.5456, allocations: 454.8 kB / 1.188 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.5456, allocations: 7.938 kB / 1.189 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002408/0.548, allocations: 1.253 MB / 1.19 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.5483, allocations: 363.7 kB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.5483, allocations: 16 kB / 1.19 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.5483, allocations: 23.97 kB / 1.19 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.5493, allocations: 251.6 kB / 1.19 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.5493, allocations: 19.92 kB / 1.19 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5505, allocations: 197.1 kB / 1.191 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/0.5506, allocations: 55.97 kB / 1.191 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-06/0.5506, allocations: 4 kB / 1.191 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/0.5527, allocations: 1.082 MB / 1.192 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.5527, allocations: 12 kB / 1.192 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5527, allocations: 24.05 kB / 1.192 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.5536, allocations: 255.6 kB / 1.192 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.5536, allocations: 19.92 kB / 1.192 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5546, allocations: 175 kB / 1.192 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.5547, allocations: 63.97 kB / 1.192 GB, free: 10.01 MB / 0.9512 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.0007119/0.5554, allocations: 444.7 kB / 1.193 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.5557, allocations: 169.9 kB / 1.193 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.5585, allocations: 1.473 MB / 1.194 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.5585, allocations: 15.98 kB / 1.194 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5585, allocations: 0 / 1.194 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001923/0.5604, allocations: 1.113 MB / 1.195 GB, free: 6.777 MB / 0.9512 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.004579/0.565, allocations: 2.923 MB / 1.198 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.565, allocations: 4 kB / 1.198 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.5658, allocations: 187.8 kB / 1.198 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.5659, allocations: 4.094 kB / 1.198 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/0.5659, allocations: 39.92 kB / 1.198 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.5659, allocations: 4 kB / 1.198 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5659, allocations: 4 kB / 1.198 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.5691, allocations: 1.915 MB / 1.2 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.5697, allocations: 410.4 kB / 1.201 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.5699, allocations: 27.94 kB / 1.201 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009775/0.5709, allocations: 127.8 kB / 1.201 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.571, allocations: 76.83 kB / 1.201 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/0.5711, allocations: 43.97 kB / 1.201 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001294/0.5724, allocations: 0.9201 MB / 1.202 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5724, allocations: 0 / 1.202 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002534/0.575, allocations: 0.9744 MB / 1.203 GB, free: 15.01 MB / 0.9669 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.001887/0.5769, allocations: 0.9501 MB / 1.204 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003112/0.58, allocations: 1.703 MB / 1.205 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.58, allocations: 0 / 1.205 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.581, allocations: 0.619 MB / 1.206 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.5842, allocations: 0.7558 MB / 1.207 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/0.591, allocations: 3.975 MB / 1.211 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.5919, allocations: 1.323 MB / 1.212 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001768/0.5936, allocations: 448.3 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.594, allocations: 167.3 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of SimCode: time 1.783e-06/0.594, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of Templates: time 0.05693/0.651, allocations: 32.77 MB / 1.244 GB, free: 4.879 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches