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.001579/0.001579, allocations: 104.6 kB / 15.99 MB, free: 6.344 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.001611/0.001611, allocations: 201.3 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.305/2.305, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 64.2 kB / 0.8127 GB, free: 33.38 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3524, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7931/1.146, allocations: 159.1 MB / 1.105 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002084/1.148, allocations: 0.9557 MB / 1.106 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/1.148, allocations: 12.56 kB / 1.106 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006569/1.149, allocations: 137 kB / 1.106 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/1.151, allocations: 0.5965 MB / 1.107 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/1.151, allocations: 196.8 kB / 1.107 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000892/1.152, allocations: 0.5205 MB / 1.108 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/1.153, allocations: 172.9 kB / 1.108 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006147/1.153, allocations: 246.3 kB / 1.108 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/1.154, allocations: 169.4 kB / 1.108 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/1.154, allocations: 15.12 kB / 1.108 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/1.155, allocations: 0.5617 MB / 1.109 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/1.155, allocations: 82.41 kB / 1.109 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/1.155, allocations: 113.5 kB / 1.109 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006847/1.156, allocations: 348.7 kB / 1.109 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.156, allocations: 1.203 kB / 1.109 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/1.156, allocations: 0 / 1.109 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.156, allocations: 0.8438 kB / 1.109 GB, free: 5.977 MB / 0.8575 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.001802/1.158, allocations: 0.5936 MB / 1.11 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.158, allocations: 9.719 kB / 1.11 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/1.158, allocations: 49.56 kB / 1.11 GB, free: 21.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/1.159, allocations: 280.1 kB / 1.11 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/1.159, allocations: 10.8 kB / 1.11 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/1.159, allocations: 18.53 kB / 1.11 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/1.159, allocations: 243.4 kB / 1.11 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.159, allocations: 6.578 kB / 1.11 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/1.159, allocations: 5.344 kB / 1.11 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/1.159, allocations: 8.484 kB / 1.11 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007959/1.16, allocations: 250.5 kB / 1.111 GB, free: 21.26 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.001422/1.162, allocations: 0.8483 MB / 1.111 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/1.162, allocations: 146.4 kB / 1.112 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/1.162, allocations: 108.4 kB / 1.112 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/1.163, allocations: 187.6 kB / 1.112 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.163, allocations: 32.91 kB / 1.112 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/1.163, allocations: 4 kB / 1.112 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008532/1.163, allocations: 302.8 kB / 1.112 GB, free: 20.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/1.163, allocations: 54.59 kB / 1.112 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/1.164, allocations: 242.3 kB / 1.112 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.164, allocations: 30.67 kB / 1.112 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/1.164, allocations: 138.3 kB / 1.113 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/1.164, allocations: 48.69 kB / 1.113 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/1.164, allocations: 36.58 kB / 1.113 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.164, allocations: 330.3 kB / 1.113 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.164, allocations: 70.03 kB / 1.113 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/1.165, allocations: 103 kB / 1.113 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/1.165, allocations: 167 kB / 1.113 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.165, allocations: 3.938 kB / 1.113 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004718/1.165, allocations: 217 kB / 1.114 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.165, allocations: 8.516 kB / 1.114 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.165, allocations: 9.484 kB / 1.114 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.165, allocations: 2 kB / 1.114 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/1.166, allocations: 30.88 kB / 1.114 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.166, allocations: 4.141 kB / 1.114 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/1.166, allocations: 25.53 kB / 1.114 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/1.166, allocations: 9.25 kB / 1.114 GB, free: 19.73 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.0001455/1.166, allocations: 145.4 kB / 1.114 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/1.166, allocations: 23.06 kB / 1.114 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/1.166, allocations: 33.03 kB / 1.114 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.166, allocations: 6.609 kB / 1.114 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.166, allocations: 0 / 1.114 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/1.166, allocations: 0.7031 kB / 1.114 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.167, allocations: 0.6778 MB / 1.114 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.167, allocations: 2.641 kB / 1.114 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.167, allocations: 30.83 kB / 1.115 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.167, allocations: 3.172 kB / 1.115 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/1.168, allocations: 12.45 kB / 1.115 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.168, allocations: 7.125 kB / 1.115 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.168, allocations: 1.25 kB / 1.115 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/1.168, allocations: 353.2 kB / 1.115 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.168, allocations: 114.8 kB / 1.115 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/1.168, allocations: 3.141 kB / 1.115 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.168, allocations: 14.81 kB / 1.115 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/1.168, allocations: 24.27 kB / 1.115 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/1.168, allocations: 5.391 kB / 1.115 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001772/1.169, allocations: 179.1 kB / 1.115 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.169, allocations: 0 / 1.115 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003922/1.169, allocations: 61.41 kB / 1.115 GB, free: 18.82 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.0003928/1.169, allocations: 158 kB / 1.115 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004827/1.17, allocations: 183.7 kB / 1.116 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.17, allocations: 0 / 1.116 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/1.17, allocations: 98.41 kB / 1.116 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/1.171, allocations: 130.4 kB / 1.116 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/1.172, allocations: 0.5345 MB / 1.116 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/1.172, allocations: 0.7471 MB / 1.117 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/1.172, allocations: 23.16 kB / 1.117 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/1.172, allocations: 4 kB / 1.117 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.008036/1.18, allocations: 3.693 MB / 1.121 GB, free: 17.34 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