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.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.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.001115/0.001115, allocations: 92.7 kB / 16.02 MB, free: 80 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.0009781/0.0009781, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.285 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.398/2.398, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003627, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7737, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1755/0.9492, allocations: 157 MB / 1.109 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.9512, allocations: 0.9454 MB / 1.11 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.9514, allocations: 7.938 kB / 1.11 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.952, allocations: 135.2 kB / 1.11 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.9535, allocations: 0.6071 MB / 1.111 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.9541, allocations: 195 kB / 1.111 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008012/0.9549, allocations: 0.7448 MB / 1.112 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.9553, allocations: 160.1 kB / 1.112 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.9557, allocations: 207.1 kB / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.9559, allocations: 171.3 kB / 1.112 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.9559, allocations: 8 kB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.9569, allocations: 0.6351 MB / 1.113 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.957, allocations: 83.7 kB / 1.113 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.9571, allocations: 125.2 kB / 1.113 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.9576, allocations: 343.2 kB / 1.113 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9576, allocations: 3.938 kB / 1.113 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9576, allocations: 0 / 1.113 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9576, allocations: 0 / 1.113 GB, free: 13.4 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.00135/0.9589, allocations: 0.5572 MB / 1.114 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.959, allocations: 8.031 kB / 1.114 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.9592, allocations: 47.69 kB / 1.114 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.9596, allocations: 270.4 kB / 1.114 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.9596, allocations: 12.33 kB / 1.114 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.9597, allocations: 16 kB / 1.114 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.9602, allocations: 262.8 kB / 1.114 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.9602, allocations: 0 / 1.114 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.9603, allocations: 8 kB / 1.114 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.9603, allocations: 8 kB / 1.114 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.9609, allocations: 267.8 kB / 1.115 GB, free: 11.87 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.001279/0.9622, allocations: 0.8353 MB / 1.116 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.9625, allocations: 150.6 kB / 1.116 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.9628, allocations: 116.8 kB / 1.116 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.963, allocations: 186.2 kB / 1.116 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.9631, allocations: 34.56 kB / 1.116 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.9631, allocations: 3.938 kB / 1.116 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.00088/0.964, allocations: 323.1 kB / 1.116 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.964, allocations: 55.41 kB / 1.116 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.9643, allocations: 245 kB / 1.117 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.9643, allocations: 29.7 kB / 1.117 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.9644, allocations: 136.2 kB / 1.117 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.9644, allocations: 51.3 kB / 1.117 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.9645, allocations: 17.72 kB / 1.117 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9646, allocations: 330.8 kB / 1.117 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.9648, allocations: 75.94 kB / 1.117 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.965, allocations: 110.5 kB / 1.117 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.9654, allocations: 182.9 kB / 1.117 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9654, allocations: 0 / 1.117 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004557/0.9659, allocations: 222.8 kB / 1.118 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.9659, allocations: 9.812 kB / 1.118 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9659, allocations: 0 / 1.118 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9659, allocations: 4 kB / 1.118 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.9661, allocations: 39.91 kB / 1.118 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.9661, allocations: 0 / 1.118 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.9663, allocations: 27.86 kB / 1.118 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.9664, allocations: 15.94 kB / 1.118 GB, free: 8.516 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.0001279/0.9665, allocations: 137.8 kB / 1.118 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.9666, allocations: 27.66 kB / 1.118 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.9666, allocations: 29.83 kB / 1.118 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9666, allocations: 4 kB / 1.118 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9667, allocations: 0 / 1.118 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9667, allocations: 0 / 1.118 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.9677, allocations: 0.6951 MB / 1.119 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.9677, allocations: 8 kB / 1.119 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.9679, allocations: 27.98 kB / 1.119 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.9679, allocations: 4 kB / 1.119 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.9679, allocations: 3.984 kB / 1.119 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.9679, allocations: 7.938 kB / 1.119 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9679, allocations: 8.219 kB / 1.119 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.9684, allocations: 361.1 kB / 1.119 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.9685, allocations: 112.8 kB / 1.119 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.9686, allocations: 11.98 kB / 1.119 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.9688, allocations: 12 kB / 1.119 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.9688, allocations: 19.92 kB / 1.119 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.9688, allocations: 7.984 kB / 1.119 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001457/0.969, allocations: 176.5 kB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.969, allocations: 0 / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003637/0.9694, allocations: 67.78 kB / 1.119 GB, free: 6.672 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.0003453/0.9697, allocations: 153.3 kB / 1.12 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.9702, allocations: 179.8 kB / 1.12 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9702, allocations: 0 / 1.12 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.9704, allocations: 104.2 kB / 1.12 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.9713, allocations: 120.4 kB / 1.12 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.972, allocations: 0.5351 MB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.9724, allocations: 0.756 MB / 1.121 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.9724, allocations: 23.44 kB / 1.121 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.9724, allocations: 0 / 1.121 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of Templates: time 0.006089/0.9785, allocations: 3.666 MB / 1.125 GB, free: 1.102 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time