Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001483, allocations: 119.5 kB / 16.37 MB, free: 6.016 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.001648/0.001648, allocations: 193 kB / 17.31 MB, free: 5.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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002439, allocations: 71.48 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3027, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6526/0.9553, allocations: 161.3 MB / 1.184 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.9577, allocations: 0.9687 MB / 1.185 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.9579, allocations: 8.812 kB / 1.185 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.9585, allocations: 155.3 kB / 1.185 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.9602, allocations: 0.6318 MB / 1.186 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.9608, allocations: 222.8 kB / 1.186 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000588/0.9614, allocations: 0.5157 MB / 1.187 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.9617, allocations: 180.8 kB / 1.187 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.9622, allocations: 236.1 kB / 1.187 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.9624, allocations: 153.6 kB / 1.187 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.9624, allocations: 17.62 kB / 1.187 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.9632, allocations: 0.5485 MB / 1.188 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.9634, allocations: 83.8 kB / 1.188 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.9635, allocations: 106.5 kB / 1.188 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.9642, allocations: 0.4886 MB / 1.188 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9642, allocations: 0 / 1.188 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9642, allocations: 0 / 1.188 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.9642, allocations: 4.938 kB / 1.188 GB, free: 15.53 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001368/0.9656, allocations: 0.5901 MB / 1.189 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.9657, allocations: 13.41 kB / 1.189 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.9659, allocations: 48.75 kB / 1.189 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.9664, allocations: 286.9 kB / 1.189 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9664, allocations: 14.67 kB / 1.189 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.9665, allocations: 15.84 kB / 1.189 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.967, allocations: 243.6 kB / 1.19 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.967, allocations: 1.5 kB / 1.19 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.9671, allocations: 9.219 kB / 1.19 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.9671, allocations: 11.61 kB / 1.19 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.9677, allocations: 252 kB / 1.19 GB, free: 14.4 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 preOpt removeSimpleEquations (simulation): time 0.001448/0.9691, allocations: 0.8396 MB / 1.191 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.9695, allocations: 134.9 kB / 1.191 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.9697, allocations: 118.1 kB / 1.191 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.97, allocations: 192 kB / 1.191 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.97, allocations: 38.22 kB / 1.191 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.9701, allocations: 0 / 1.191 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0008427/0.9709, allocations: 305.3 kB / 1.191 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.971, allocations: 52.84 kB / 1.192 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.9712, allocations: 240.8 kB / 1.192 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.9712, allocations: 29.7 kB / 1.192 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.9713, allocations: 135 kB / 1.192 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.9714, allocations: 49.2 kB / 1.192 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.9714, allocations: 39.27 kB / 1.192 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9716, allocations: 331.4 kB / 1.192 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.9718, allocations: 70.84 kB / 1.192 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.972, allocations: 105.7 kB / 1.192 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.9723, allocations: 166.4 kB / 1.193 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9724, allocations: 0 / 1.193 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004162/0.9728, allocations: 213.6 kB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.9728, allocations: 6.406 kB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9728, allocations: 3.938 kB / 1.193 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9728, allocations: 1.594 kB / 1.193 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.973, allocations: 35.36 kB / 1.193 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.973, allocations: 1.375 kB / 1.193 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.9732, allocations: 24.08 kB / 1.193 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.9732, allocations: 8.109 kB / 1.193 GB, free: 11.99 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001313/0.9734, allocations: 140.9 kB / 1.193 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.9734, allocations: 22.72 kB / 1.193 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.9735, allocations: 35.27 kB / 1.193 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.9735, allocations: 2.75 kB / 1.193 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.9735, allocations: 4 kB / 1.193 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9735, allocations: 7.875 kB / 1.193 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.9746, allocations: 0.6746 MB / 1.194 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9746, allocations: 2.75 kB / 1.194 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.9748, allocations: 29.97 kB / 1.194 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9748, allocations: 3.625 kB / 1.194 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.9748, allocations: 6.719 kB / 1.194 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.9748, allocations: 6.594 kB / 1.194 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9748, allocations: 2.688 kB / 1.194 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.9753, allocations: 361.3 kB / 1.194 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.9754, allocations: 119 kB / 1.194 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.9755, allocations: 2.562 kB / 1.194 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.9756, allocations: 13.19 kB / 1.194 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.9757, allocations: 14.95 kB / 1.194 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.9757, allocations: 13.02 kB / 1.194 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001551/0.9759, allocations: 171.8 kB / 1.194 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9759, allocations: 5.125 kB / 1.195 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003573/0.9763, allocations: 61.08 kB / 1.195 GB, free: 10.66 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0003139/0.9766, allocations: 157.3 kB / 1.195 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.977, allocations: 176.8 kB / 1.195 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9771, allocations: 1.438 kB / 1.195 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.9773, allocations: 98.72 kB / 1.195 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.978, allocations: 120.7 kB / 1.195 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.9787, allocations: 442.8 kB / 1.196 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.979, allocations: 0.7525 MB / 1.196 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.9792, allocations: 63.45 kB / 1.196 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.9793, allocations: 28.73 kB / 1.196 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.9793, allocations: 0 / 1.196 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of Templates: time 0.007681/0.987, allocations: 4.42 MB / 1.201 GB, free: 7.051 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches