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.001159/0.001159, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001105/0.001105, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.05 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.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.89 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8032, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2023/1.006, allocations: 161.3 MB / 1.246 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002111/1.008, allocations: 0.9648 MB / 1.247 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/1.008, allocations: 9.438 kB / 1.247 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/1.009, allocations: 156.2 kB / 1.247 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/1.01, allocations: 0.6616 MB / 1.248 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000703/1.011, allocations: 226.4 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009109/1.012, allocations: 0.518 MB / 1.249 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/1.012, allocations: 187.3 kB / 1.249 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/1.013, allocations: 231.1 kB / 1.249 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/1.013, allocations: 155.3 kB / 1.249 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/1.013, allocations: 20 kB / 1.249 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/1.014, allocations: 0.5494 MB / 1.25 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/1.014, allocations: 75.8 kB / 1.25 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/1.014, allocations: 119.3 kB / 1.25 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006852/1.015, allocations: 492.6 kB / 1.25 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.015, allocations: 0 / 1.25 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/1.015, allocations: 0 / 1.25 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.236e-05/1.015, allocations: 0 / 1.25 GB, free: 8.016 MB / 0.9825 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.001416/1.016, allocations: 0.6038 MB / 1.251 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.017, allocations: 12.03 kB / 1.251 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/1.017, allocations: 51.59 kB / 1.251 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/1.017, allocations: 278.4 kB / 1.251 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/1.017, allocations: 16.33 kB / 1.251 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/1.017, allocations: 16 kB / 1.251 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/1.018, allocations: 239.1 kB / 1.252 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.018, allocations: 0 / 1.252 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/1.018, allocations: 7.984 kB / 1.252 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/1.018, allocations: 11.98 kB / 1.252 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/1.018, allocations: 255.8 kB / 1.252 GB, free: 6.449 MB / 0.9825 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.001269/1.02, allocations: 0.8352 MB / 1.253 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/1.02, allocations: 142.6 kB / 1.253 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/1.02, allocations: 112.8 kB / 1.253 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/1.021, allocations: 190.2 kB / 1.253 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/1.021, allocations: 34.56 kB / 1.253 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.021, allocations: 0 / 1.253 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007954/1.021, allocations: 309.1 kB / 1.253 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.021, allocations: 55.41 kB / 1.253 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/1.022, allocations: 241 kB / 1.254 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/1.022, allocations: 29.7 kB / 1.254 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/1.022, allocations: 132.3 kB / 1.254 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.022, allocations: 51.2 kB / 1.254 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/1.022, allocations: 37.7 kB / 1.254 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.022, allocations: 330.8 kB / 1.254 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/1.022, allocations: 67.95 kB / 1.254 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/1.022, allocations: 102.5 kB / 1.254 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/1.023, allocations: 174.2 kB / 1.255 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.023, allocations: 0 / 1.255 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004361/1.023, allocations: 213.3 kB / 1.255 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.023, allocations: 7.938 kB / 1.255 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.023, allocations: 0 / 1.255 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.023, allocations: 4 kB / 1.255 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/1.024, allocations: 35.97 kB / 1.255 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.024, allocations: 7.938 kB / 1.255 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.024, allocations: 23.83 kB / 1.255 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/1.024, allocations: 4 kB / 1.255 GB, free: 3.152 MB / 0.9825 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.0001295/1.024, allocations: 141.8 kB / 1.255 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/1.024, allocations: 23.7 kB / 1.255 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/1.024, allocations: 33.81 kB / 1.255 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.024, allocations: 0 / 1.255 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.024, allocations: 4 kB / 1.255 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.024, allocations: 4 kB / 1.255 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/1.025, allocations: 0.6756 MB / 1.256 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.025, allocations: 4 kB / 1.256 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/1.025, allocations: 35.84 kB / 1.256 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.025, allocations: 4 kB / 1.256 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.025, allocations: 8 kB / 1.256 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.025, allocations: 0 / 1.256 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.025, allocations: 7.938 kB / 1.256 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/1.026, allocations: 345.4 kB / 1.256 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/1.026, allocations: 120.8 kB / 1.256 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/1.026, allocations: 4 kB / 1.256 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/1.026, allocations: 11.98 kB / 1.256 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/1.026, allocations: 19.86 kB / 1.256 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.026, allocations: 8 kB / 1.256 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001659/1.026, allocations: 180.5 kB / 1.256 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.026, allocations: 4 kB / 1.256 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003426/1.027, allocations: 59.94 kB / 1.256 GB, free: 1.332 MB / 0.9825 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.0004124/1.027, allocations: 156.6 kB / 1.257 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004443/1.028, allocations: 175.8 kB / 1.257 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.028, allocations: 0 / 1.257 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/1.028, allocations: 96.06 kB / 1.257 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/1.029, allocations: 121.3 kB / 1.257 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/1.029, allocations: 482.1 kB / 1.257 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/1.03, allocations: 0.7519 MB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/1.03, allocations: 27.42 kB / 1.258 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.03, allocations: 0 / 1.258 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.006355/1.036, allocations: 3.708 MB / 1.262 GB, free: 11.79 MB / 0.9981 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