Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_9_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_9_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.001338/0.001338, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.543/2.543, allocations: 390.2 MB / 0.6646 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 64.09 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8636, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2131/1.077, allocations: 161.3 MB / 1.107 GB, free: 0 / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003368/1.08, allocations: 0.961 MB / 1.108 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/1.081, allocations: 7.938 kB / 1.108 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000889/1.082, allocations: 163 kB / 1.108 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/1.084, allocations: 0.638 MB / 1.109 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/1.085, allocations: 211 kB / 1.109 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001053/1.086, allocations: 0.5265 MB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/1.087, allocations: 176 kB / 1.11 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006398/1.088, allocations: 239 kB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/1.088, allocations: 155.3 kB / 1.11 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/1.088, allocations: 16 kB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/1.089, allocations: 0.5416 MB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/1.089, allocations: 83.72 kB / 1.111 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/1.09, allocations: 107.5 kB / 1.111 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008773/1.09, allocations: 490.6 kB / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.09, allocations: 0 / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.615e-06/1.09, allocations: 0 / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.09, allocations: 4 kB / 1.111 GB, free: 11.71 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001668/1.092, allocations: 0.6 MB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.092, allocations: 8.031 kB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/1.093, allocations: 47.67 kB / 1.112 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/1.093, allocations: 278.3 kB / 1.112 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/1.093, allocations: 12.33 kB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/1.093, allocations: 23.98 kB / 1.112 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/1.093, allocations: 235.1 kB / 1.112 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.093, allocations: 0 / 1.112 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/1.094, allocations: 15.98 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/1.094, allocations: 11.94 kB / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/1.094, allocations: 247.8 kB / 1.113 GB, free: 10.15 MB / 0.8731 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.001316/1.096, allocations: 0.8353 MB / 1.114 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/1.096, allocations: 142.5 kB / 1.114 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/1.096, allocations: 116.9 kB / 1.114 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/1.096, allocations: 182.2 kB / 1.114 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.096, allocations: 38.5 kB / 1.114 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/1.097, allocations: 7.938 kB / 1.114 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0009032/1.097, allocations: 301.3 kB / 1.114 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.097, allocations: 51.41 kB / 1.114 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/1.098, allocations: 241 kB / 1.115 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.098, allocations: 29.7 kB / 1.115 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.098, allocations: 140.2 kB / 1.115 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/1.098, allocations: 47.3 kB / 1.115 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/1.098, allocations: 37.7 kB / 1.115 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.098, allocations: 326.8 kB / 1.115 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/1.098, allocations: 67.94 kB / 1.115 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.099, allocations: 106.5 kB / 1.115 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/1.099, allocations: 172.6 kB / 1.115 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.099, allocations: 3.938 kB / 1.115 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004658/1.1, allocations: 213.2 kB / 1.116 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.1, allocations: 15.98 kB / 1.116 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.1, allocations: 4 kB / 1.116 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.1, allocations: 0 / 1.116 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/1.1, allocations: 31.92 kB / 1.116 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.1, allocations: 0 / 1.116 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/1.1, allocations: 23.83 kB / 1.116 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/1.1, allocations: 11.98 kB / 1.116 GB, free: 6.848 MB / 0.8731 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.0001931/1.1, allocations: 134.6 kB / 1.116 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/1.1, allocations: 31.66 kB / 1.116 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/1.1, allocations: 33.83 kB / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.1, allocations: 0 / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.1, allocations: 0 / 1.116 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.1, allocations: 4.031 kB / 1.116 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.102, allocations: 0.6873 MB / 1.117 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/1.102, allocations: 0 / 1.117 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/1.102, allocations: 27.98 kB / 1.117 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/1.102, allocations: 4 kB / 1.117 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/1.102, allocations: 7.984 kB / 1.117 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.102, allocations: 8.156 kB / 1.117 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.102, allocations: 8 kB / 1.117 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/1.102, allocations: 354.9 kB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.102, allocations: 112.8 kB / 1.117 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/1.102, allocations: 7.984 kB / 1.117 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/1.103, allocations: 12 kB / 1.117 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/1.103, allocations: 11.92 kB / 1.117 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/1.103, allocations: 8 kB / 1.117 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001631/1.103, allocations: 180.5 kB / 1.117 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 0 / 1.117 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003609/1.103, allocations: 63.94 kB / 1.117 GB, free: 5.031 MB / 0.8731 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.0004394/1.104, allocations: 159.3 kB / 1.118 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000504/1.104, allocations: 179.8 kB / 1.118 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.104, allocations: 8.062 kB / 1.118 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.104, allocations: 87.88 kB / 1.118 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/1.105, allocations: 120.5 kB / 1.118 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/1.106, allocations: 452 kB / 1.118 GB, free: 4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/1.106, allocations: 0.7519 MB / 1.119 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002282/1.107, allocations: 65.89 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/1.107, allocations: 27.42 kB / 1.119 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.107, allocations: 0 / 1.119 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of Templates: time 0.01011/1.117, allocations: 4.433 MB / 1.124 GB, free: 14.78 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches