Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001441/0.001441, allocations: 100.1 kB / 15.88 MB, free: 12 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.001735/0.001735, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.478/2.478, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7354, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0497/0.7851, allocations: 49.47 MB / 0.9979 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.805, allocations: 12.71 MB / 1.01 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.8092, allocations: 75.5 kB / 1.01 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.8118, allocations: 0.6253 MB / 1.011 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.8178, allocations: 1.691 MB / 1.013 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.8217, allocations: 1.203 MB / 1.014 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005903/0.8276, allocations: 4.366 MB / 1.018 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.8295, allocations: 1.075 MB / 1.019 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.8321, allocations: 1.12 MB / 1.02 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.8337, allocations: 0.9525 MB / 1.021 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.8339, allocations: 60 kB / 1.021 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.8364, allocations: 1.06 MB / 1.022 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.8368, allocations: 254.8 kB / 1.022 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008824/0.8377, allocations: 0.6371 MB / 1.023 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.8397, allocations: 1.442 MB / 1.025 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8397, allocations: 4 kB / 1.025 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8397, allocations: 0 / 1.025 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.8397, allocations: 3.938 kB / 1.025 GB, free: 5.141 MB / 0.7794 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.002721/0.8425, allocations: 1.693 MB / 1.026 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.8425, allocations: 12.03 kB / 1.026 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006381/0.8432, allocations: 215 kB / 1.026 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.8451, allocations: 1.073 MB / 1.027 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003424/0.8455, allocations: 138.2 kB / 1.028 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.8456, allocations: 80 kB / 1.028 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.8474, allocations: 0.9922 MB / 1.029 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.8474, allocations: 7.938 kB / 1.029 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.8475, allocations: 32 kB / 1.029 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.8475, allocations: 28 kB / 1.029 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.849, allocations: 0.6478 MB / 1.029 GB, free: 52 kB / 0.7794 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.005368/0.8544, allocations: 4.418 MB / 1.034 GB, free: 11.38 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.8556, allocations: 422.4 kB / 1.034 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.8562, allocations: 224.7 kB / 1.034 GB, free: 10.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.8572, allocations: 1.14 MB / 1.035 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8573, allocations: 50.48 kB / 1.035 GB, free: 9.273 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.966e-06/0.8573, allocations: 0 / 1.035 GB, free: 9.273 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.003037/0.8603, allocations: 1.08 MB / 1.036 GB, free: 8.121 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.8604, allocations: 59.34 kB / 1.037 GB, free: 8.051 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.8617, allocations: 0.9356 MB / 1.037 GB, free: 7.102 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.8617, allocations: 33.7 kB / 1.037 GB, free: 7.062 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.8622, allocations: 0.589 MB / 1.038 GB, free: 6.469 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8623, allocations: 94.66 kB / 1.038 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.8625, allocations: 110 kB / 1.038 GB, free: 6.262 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8626, allocations: 322 kB / 1.039 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.8632, allocations: 196.9 kB / 1.039 GB, free: 5.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.8639, allocations: 378.9 kB / 1.039 GB, free: 5.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.8651, allocations: 0.5731 MB / 1.04 GB, free: 4.652 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8651, allocations: 4 kB / 1.04 GB, free: 4.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001673/0.8668, allocations: 0.7248 MB / 1.04 GB, free: 3.906 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8668, allocations: 8.719 kB / 1.04 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.8668, allocations: 12 kB / 1.04 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/0.8675, allocations: 150.3 kB / 1.041 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.8681, allocations: 143.8 kB / 1.041 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.8693, allocations: 1.719 MB / 1.042 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.8701, allocations: 107.4 kB / 1.042 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.8702, allocations: 31.98 kB / 1.042 GB, free: 1.656 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0004831/0.8707, allocations: 270.1 kB / 1.043 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.8709, allocations: 110.6 kB / 1.043 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.8727, allocations: 0.7339 MB / 1.044 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.8728, allocations: 12.12 kB / 1.044 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8728, allocations: 0 / 1.044 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.8728, allocations: 7.969 kB / 1.044 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.8758, allocations: 1.628 MB / 1.045 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8758, allocations: 4.062 kB / 1.045 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.8763, allocations: 96.02 kB / 1.045 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005948/0.877, allocations: 150.4 kB / 1.045 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.877, allocations: 11.98 kB / 1.045 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.8781, allocations: 1.712 MB / 1.047 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8781, allocations: 0 / 1.047 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.8799, allocations: 0.7919 MB / 1.048 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.8803, allocations: 243.6 kB / 1.048 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.8805, allocations: 8 kB / 1.048 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.8811, allocations: 71.83 kB / 1.048 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8812, allocations: 39.83 kB / 1.048 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.8813, allocations: 23.98 kB / 1.048 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008678/0.8822, allocations: 0.6303 MB / 1.049 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8822, allocations: 3.938 kB / 1.049 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001082/0.8833, allocations: 359.1 kB / 1.049 GB, free: 10.52 MB / 0.8106 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.0008911/0.8842, allocations: 386.5 kB / 1.05 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.8858, allocations: 0.5397 MB / 1.05 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8858, allocations: 0 / 1.05 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.8866, allocations: 293.5 kB / 1.05 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.889, allocations: 0.507 MB / 1.051 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.8925, allocations: 2.304 MB / 1.053 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.8932, allocations: 1.095 MB / 1.054 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.8934, allocations: 71.42 kB / 1.054 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/0.8934, allocations: 0 / 1.054 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of Templates: time 0.0377/0.9311, allocations: 31.64 MB / 1.085 GB, free: 5.754 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches