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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001527/0.001528, allocations: 101.4 kB / 16.35 MB, free: 5.875 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.001695/0.001695, allocations: 198.8 kB / 17.3 MB, free: 5.516 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.59 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 151.6 MB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04435/0.322, allocations: 49.79 MB / 1.067 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5175/0.8395, allocations: 12.66 MB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.8433, allocations: 80.12 kB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.8456, allocations: 0.762 MB / 1.081 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.851, allocations: 1.831 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.8545, allocations: 1.363 MB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.8593, allocations: 3.255 MB / 1.087 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.8611, allocations: 1.258 MB / 1.088 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.8644, allocations: 1.301 MB / 1.089 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.8657, allocations: 0.9249 MB / 1.09 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.8659, allocations: 96.84 kB / 1.09 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.8685, allocations: 1.071 MB / 1.091 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.8689, allocations: 295.5 kB / 1.092 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.8696, allocations: 0.6695 MB / 1.092 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.8726, allocations: 1.949 MB / 1.094 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8727, allocations: 2.719 kB / 1.094 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8727, allocations: 1.469 kB / 1.094 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.8727, allocations: 0 / 1.094 GB, free: 10.66 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.002541/0.8752, allocations: 1.696 MB / 1.096 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.8753, allocations: 18.44 kB / 1.096 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.8759, allocations: 203.4 kB / 1.096 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.8781, allocations: 1.094 MB / 1.097 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.8782, allocations: 64.56 kB / 1.097 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.8783, allocations: 81.78 kB / 1.097 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.8801, allocations: 1.004 MB / 1.098 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.8801, allocations: 7.75 kB / 1.098 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.8802, allocations: 35.09 kB / 1.098 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.8802, allocations: 21.84 kB / 1.098 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.8817, allocations: 0.6477 MB / 1.099 GB, free: 8.988 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.004857/0.8866, allocations: 4.731 MB / 1.104 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.8877, allocations: 393.8 kB / 1.104 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.8882, allocations: 216.2 kB / 1.104 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.8888, allocations: 1.159 MB / 1.105 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.8889, allocations: 34.7 kB / 1.105 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.896e-06/0.8889, allocations: 0 / 1.105 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.002916/0.8918, allocations: 1.083 MB / 1.106 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.8919, allocations: 58.22 kB / 1.106 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.8932, allocations: 0.975 MB / 1.107 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.8933, allocations: 35.36 kB / 1.107 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.8937, allocations: 0.5838 MB / 1.108 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.8938, allocations: 99.28 kB / 1.108 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.8939, allocations: 115.8 kB / 1.108 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.894, allocations: 330.5 kB / 1.109 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.8945, allocations: 197.9 kB / 1.109 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.8951, allocations: 407.9 kB / 1.109 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.8963, allocations: 0.5966 MB / 1.11 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8963, allocations: 1.25 kB / 1.11 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001684/0.898, allocations: 0.763 MB / 1.11 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.898, allocations: 8.344 kB / 1.11 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.898, allocations: 10.16 kB / 1.11 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007181/0.8987, allocations: 152.5 kB / 1.111 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.8994, allocations: 151.8 kB / 1.111 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/0.9003, allocations: 1.719 MB / 1.112 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/0.9012, allocations: 87.19 kB / 1.113 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.9013, allocations: 37.89 kB / 1.113 GB, free: 0.5547 MB / 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.0005215/0.9018, allocations: 268.6 kB / 1.113 GB, free: 376 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.902, allocations: 107.1 kB / 1.113 GB, free: 320 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.9038, allocations: 0.729 MB / 1.114 GB, free: 28 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9038, allocations: 5.578 kB / 1.114 GB, free: 28 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9038, allocations: 0.5156 kB / 1.114 GB, free: 28 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.9038, allocations: 5.297 kB / 1.114 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.9072, allocations: 1.632 MB / 1.115 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.9072, allocations: 1.828 kB / 1.115 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.9077, allocations: 89.91 kB / 1.115 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/0.9083, allocations: 149.2 kB / 1.115 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.9083, allocations: 13.86 kB / 1.115 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.9096, allocations: 1.709 MB / 1.117 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.9096, allocations: 3.969 kB / 1.117 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.9114, allocations: 0.7758 MB / 1.118 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.9119, allocations: 242.9 kB / 1.118 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.912, allocations: 11.53 kB / 1.118 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.9126, allocations: 46.25 kB / 1.118 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.9127, allocations: 34.92 kB / 1.118 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.9128, allocations: 21.64 kB / 1.118 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009784/0.9138, allocations: 0.6631 MB / 1.119 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.543e-06/0.9138, allocations: 0 / 1.119 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001388/0.9152, allocations: 381.8 kB / 1.119 GB, free: 12.54 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.001002/0.9162, allocations: 416 kB / 1.12 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.9178, allocations: 0.5537 MB / 1.12 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.9178, allocations: 0 / 1.12 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.9186, allocations: 291.6 kB / 1.12 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.9207, allocations: 0.5236 MB / 1.121 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.9237, allocations: 1.798 MB / 1.123 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.9244, allocations: 1.102 MB / 1.124 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006361/0.925, allocations: 184.9 kB / 1.124 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.9252, allocations: 71.36 kB / 1.124 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.9252, allocations: 5.094 kB / 1.124 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.03517/0.9604, allocations: 20.64 MB / 1.144 GB, free: 2.957 MB / 0.8575 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=480 -s gbode -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