Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001808/0.001808, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 76.69 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05566/0.4006, allocations: 49.78 MB / 1.067 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6256/1.026, allocations: 12.67 MB / 1.079 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/1.03, allocations: 81.12 kB / 1.079 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/1.032, allocations: 0.7576 MB / 1.08 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/1.039, allocations: 1.829 MB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/1.043, allocations: 1.343 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005904/1.049, allocations: 3.252 MB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/1.051, allocations: 1.249 MB / 1.087 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/1.055, allocations: 1.296 MB / 1.089 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/1.058, allocations: 0.931 MB / 1.089 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/1.058, allocations: 96.53 kB / 1.09 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/1.062, allocations: 1.066 MB / 1.091 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004956/1.062, allocations: 287.4 kB / 1.091 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/1.063, allocations: 0.672 MB / 1.092 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/1.068, allocations: 1.92 MB / 1.093 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.068, allocations: 4.938 kB / 1.093 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/1.068, allocations: 3.094 kB / 1.093 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.409e-05/1.068, allocations: 0 / 1.093 GB, free: 10.05 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003215/1.071, allocations: 1.701 MB / 1.095 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.071, allocations: 14.47 kB / 1.095 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/1.072, allocations: 206.5 kB / 1.095 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/1.074, allocations: 1.023 MB / 1.096 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/1.074, allocations: 120.5 kB / 1.096 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.075, allocations: 86.72 kB / 1.096 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/1.077, allocations: 1.008 MB / 1.097 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.077, allocations: 4.656 kB / 1.097 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/1.077, allocations: 37.28 kB / 1.097 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/1.077, allocations: 24.47 kB / 1.098 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/1.078, allocations: 0.6611 MB / 1.098 GB, free: 8.387 MB / 0.8419 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.006029/1.084, allocations: 4.765 MB / 1.103 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/1.086, allocations: 417.5 kB / 1.103 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/1.086, allocations: 223.3 kB / 1.103 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/1.087, allocations: 1.146 MB / 1.105 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.087, allocations: 35.97 kB / 1.105 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.746e-06/1.087, allocations: 3.938 kB / 1.105 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.003169/1.09, allocations: 1.103 MB / 1.106 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/1.09, allocations: 53.72 kB / 1.106 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/1.092, allocations: 0.9789 MB / 1.107 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/1.092, allocations: 31.95 kB / 1.107 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/1.092, allocations: 0.5864 MB / 1.107 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/1.092, allocations: 103.1 kB / 1.107 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.092, allocations: 115.4 kB / 1.107 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.093, allocations: 323.4 kB / 1.108 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/1.093, allocations: 204.5 kB / 1.108 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/1.094, allocations: 409.7 kB / 1.108 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.095, allocations: 0.6061 MB / 1.109 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.095, allocations: 1.938 kB / 1.109 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001945/1.097, allocations: 0.7775 MB / 1.11 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.097, allocations: 9.094 kB / 1.11 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.097, allocations: 8.891 kB / 1.11 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/1.098, allocations: 156.5 kB / 1.11 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/1.099, allocations: 146.2 kB / 1.11 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008213/1.099, allocations: 1.723 MB / 1.112 GB, free: 244 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/1.1, allocations: 89.47 kB / 1.112 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/1.1, allocations: 31.44 kB / 1.112 GB, free: 196 kB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005483/1.101, allocations: 272.7 kB / 1.112 GB, free: 0 / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/1.101, allocations: 113.1 kB / 1.112 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/1.103, allocations: 0.7269 MB / 1.113 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/1.103, allocations: 12.59 kB / 1.113 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.103, allocations: 9.672 kB / 1.113 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.103, allocations: 1.734 kB / 1.113 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/1.107, allocations: 1.648 MB / 1.115 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.107, allocations: 1.031 kB / 1.115 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/1.107, allocations: 91.84 kB / 1.115 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005994/1.108, allocations: 151 kB / 1.115 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/1.108, allocations: 15.75 kB / 1.115 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/1.109, allocations: 1.706 MB / 1.116 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.109, allocations: 5.594 kB / 1.116 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/1.111, allocations: 0.792 MB / 1.117 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/1.112, allocations: 242.8 kB / 1.117 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.112, allocations: 8.594 kB / 1.117 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/1.113, allocations: 48.06 kB / 1.118 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/1.113, allocations: 41.17 kB / 1.118 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/1.113, allocations: 18.17 kB / 1.118 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001082/1.114, allocations: 0.6595 MB / 1.118 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/1.114, allocations: 0 / 1.118 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001423/1.116, allocations: 376.7 kB / 1.119 GB, free: 12.17 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/1.117, allocations: 411.7 kB / 1.119 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001869/1.118, allocations: 0.582 MB / 1.12 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.118, allocations: 0 / 1.12 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009225/1.119, allocations: 292 kB / 1.12 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.122, allocations: 0.5294 MB / 1.12 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/1.126, allocations: 1.872 MB / 1.122 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008966/1.127, allocations: 1.098 MB / 1.123 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/1.127, allocations: 73.86 kB / 1.123 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of SimCode: time 1.212e-06/1.127, allocations: 4.906 kB / 1.123 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of Templates: time 0.04901/1.176, allocations: 32.13 MB / 1.155 GB, free: 11.78 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches