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.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.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.001185/0.001185, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009221/0.009221, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.433/2.433, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005381, allocations: 16 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7918, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05181/0.8437, allocations: 48.45 MB / 1.002 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.8634, allocations: 12.58 MB / 1.015 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.8666, allocations: 67.5 kB / 1.015 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.8698, allocations: 0.6174 MB / 1.015 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.8771, allocations: 1.703 MB / 1.017 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.8811, allocations: 1.209 MB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00573/0.8868, allocations: 4.364 MB / 1.022 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.8888, allocations: 1.033 MB / 1.023 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.8915, allocations: 1.069 MB / 1.024 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.8932, allocations: 0.9017 MB / 1.025 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.8936, allocations: 40 kB / 1.025 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.8962, allocations: 1.037 MB / 1.026 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.8967, allocations: 222.8 kB / 1.027 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.8979, allocations: 0.627 MB / 1.027 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.9006, allocations: 1.873 MB / 1.029 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9007, allocations: 0 / 1.029 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9007, allocations: 7.875 kB / 1.029 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.9007, allocations: 0 / 1.029 GB, free: 3.332 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.002395/0.9031, allocations: 1.476 MB / 1.03 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.9031, allocations: 8.031 kB / 1.03 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/0.9037, allocations: 227.1 kB / 1.031 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.9056, allocations: 1.08 MB / 1.032 GB, free: 448 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.906, allocations: 142.2 kB / 1.032 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.9061, allocations: 84 kB / 1.032 GB, free: 224 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.9079, allocations: 1.012 MB / 1.033 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.9079, allocations: 3.938 kB / 1.033 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.908, allocations: 32 kB / 1.033 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.9081, allocations: 24 kB / 1.033 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.9096, allocations: 0.6907 MB / 1.034 GB, free: 14.39 MB / 0.795 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.005287/0.9149, allocations: 4.451 MB / 1.038 GB, free: 9.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.9161, allocations: 442.4 kB / 1.038 GB, free: 9.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.9167, allocations: 240.7 kB / 1.039 GB, free: 9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/0.9176, allocations: 1.144 MB / 1.04 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.9177, allocations: 34.56 kB / 1.04 GB, free: 7.555 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.9177, allocations: 4 kB / 1.04 GB, free: 7.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.003107/0.9208, allocations: 1.15 MB / 1.041 GB, free: 6.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.9209, allocations: 59.34 kB / 1.041 GB, free: 6.258 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.922, allocations: 0.9356 MB / 1.042 GB, free: 5.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.9221, allocations: 29.7 kB / 1.042 GB, free: 5.273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.9226, allocations: 0.5851 MB / 1.043 GB, free: 4.684 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.9227, allocations: 102.5 kB / 1.043 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.9228, allocations: 41.7 kB / 1.043 GB, free: 4.535 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9229, allocations: 326 kB / 1.043 GB, free: 4.211 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.9235, allocations: 224.9 kB / 1.043 GB, free: 3.992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.9242, allocations: 390.9 kB / 1.044 GB, free: 3.531 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.9254, allocations: 0.6122 MB / 1.044 GB, free: 2.844 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.9254, allocations: 4 kB / 1.044 GB, free: 2.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001717/0.9272, allocations: 0.7602 MB / 1.045 GB, free: 2.062 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9272, allocations: 8 kB / 1.045 GB, free: 2.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.9272, allocations: 8 kB / 1.045 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.9279, allocations: 158.8 kB / 1.045 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.9285, allocations: 159.8 kB / 1.045 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.9296, allocations: 1.72 MB / 1.047 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.9304, allocations: 123.6 kB / 1.047 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.9305, allocations: 31.97 kB / 1.047 GB, free: 15.78 MB / 0.8106 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.0004193/0.9309, allocations: 270.1 kB / 1.047 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.931, allocations: 110.6 kB / 1.047 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.933, allocations: 0.7584 MB / 1.048 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.933, allocations: 11.92 kB / 1.048 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.933, allocations: 4 kB / 1.048 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.933, allocations: 3.938 kB / 1.048 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.936, allocations: 1.673 MB / 1.05 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.936, allocations: 0 / 1.05 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.9366, allocations: 108 kB / 1.05 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/0.9371, allocations: 154.4 kB / 1.05 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.9372, allocations: 8 kB / 1.05 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.9382, allocations: 1.708 MB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9382, allocations: 4.031 kB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.9399, allocations: 0.8193 MB / 1.053 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/0.9403, allocations: 247.5 kB / 1.053 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.9404, allocations: 8 kB / 1.053 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.9411, allocations: 87.86 kB / 1.053 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.9412, allocations: 35.83 kB / 1.053 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.9413, allocations: 23.98 kB / 1.053 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008906/0.9422, allocations: 0.6303 MB / 1.054 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9422, allocations: 0 / 1.054 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001102/0.9433, allocations: 359.1 kB / 1.054 GB, free: 8.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.0009569/0.9443, allocations: 396.8 kB / 1.054 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.946, allocations: 0.5788 MB / 1.055 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.946, allocations: 0 / 1.055 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.9469, allocations: 308 kB / 1.055 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.9496, allocations: 0.5012 MB / 1.056 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.953, allocations: 2.318 MB / 1.058 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.9538, allocations: 1.111 MB / 1.059 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007207/0.9545, allocations: 183.9 kB / 1.059 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.9547, allocations: 63.42 kB / 1.059 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.9547, allocations: 4 kB / 1.059 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of Templates: time 0.03183/0.9865, allocations: 19.05 MB / 1.078 GB, free: 216 kB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches