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.0008352/0.0008351, allocations: 98.88 kB / 16.02 MB, free: 76 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.001021/0.001021, allocations: 183.7 kB / 16.92 MB, free: 6.684 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.355 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.367/2.367, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003817, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7462, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05363/0.7999, allocations: 48.46 MB / 1.003 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.8213, allocations: 12.58 MB / 1.015 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003699/0.825, allocations: 67.56 kB / 1.015 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.8277, allocations: 0.6213 MB / 1.016 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006335/0.834, allocations: 1.691 MB / 1.018 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.8381, allocations: 1.21 MB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00647/0.8446, allocations: 4.372 MB / 1.023 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.8468, allocations: 1.033 MB / 1.024 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.8496, allocations: 1.069 MB / 1.025 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.8515, allocations: 0.8939 MB / 1.026 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.8518, allocations: 44 kB / 1.026 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.8547, allocations: 1.033 MB / 1.027 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.8552, allocations: 230.8 kB / 1.027 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.8564, allocations: 0.6231 MB / 1.028 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.8589, allocations: 1.422 MB / 1.029 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8589, allocations: 0 / 1.029 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8589, allocations: 0 / 1.029 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.707e-05/0.859, allocations: 0 / 1.029 GB, free: 3.805 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.003039/0.862, allocations: 1.483 MB / 1.031 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8621, allocations: 8.031 kB / 1.031 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.8629, allocations: 219.1 kB / 1.031 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.8653, allocations: 1.088 MB / 1.032 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.8657, allocations: 138.2 kB / 1.032 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.8658, allocations: 84 kB / 1.032 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.8678, allocations: 1.008 MB / 1.033 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.8678, allocations: 7.938 kB / 1.033 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.8679, allocations: 43.94 kB / 1.033 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.868, allocations: 24 kB / 1.033 GB, free: 15.53 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.8695, allocations: 0.6829 MB / 1.034 GB, free: 14.85 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.005421/0.875, allocations: 4.44 MB / 1.038 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.8763, allocations: 454.4 kB / 1.039 GB, free: 9.699 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.8769, allocations: 236.7 kB / 1.039 GB, free: 9.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.8778, allocations: 1.148 MB / 1.04 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.8778, allocations: 42.48 kB / 1.04 GB, free: 8.008 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.354e-06/0.8778, allocations: 0 / 1.04 GB, free: 8.008 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.003053/0.8809, allocations: 1.147 MB / 1.041 GB, free: 6.789 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.881, allocations: 59.34 kB / 1.041 GB, free: 6.719 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.8822, allocations: 0.9356 MB / 1.042 GB, free: 5.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.8822, allocations: 29.7 kB / 1.042 GB, free: 5.734 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.8827, allocations: 0.5851 MB / 1.043 GB, free: 5.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.8828, allocations: 106.6 kB / 1.043 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.8829, allocations: 37.7 kB / 1.043 GB, free: 4.996 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8831, allocations: 330 kB / 1.043 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.8837, allocations: 213 kB / 1.043 GB, free: 4.461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/0.8844, allocations: 402.9 kB / 1.044 GB, free: 3.988 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.8857, allocations: 0.6005 MB / 1.044 GB, free: 3.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.8857, allocations: 8 kB / 1.044 GB, free: 3.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001822/0.8875, allocations: 0.7599 MB / 1.045 GB, free: 2.527 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.8876, allocations: 8 kB / 1.045 GB, free: 2.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8876, allocations: 4.719 kB / 1.045 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.8883, allocations: 166.4 kB / 1.045 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.8889, allocations: 163.8 kB / 1.045 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.8901, allocations: 1.712 MB / 1.047 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.891, allocations: 123.5 kB / 1.047 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.8911, allocations: 24 kB / 1.047 GB, free: 256 kB / 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.0005133/0.8916, allocations: 266.3 kB / 1.048 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.8917, allocations: 110.6 kB / 1.048 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.8936, allocations: 0.7612 MB / 1.048 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.8937, allocations: 15.86 kB / 1.048 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8937, allocations: 3.938 kB / 1.048 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8937, allocations: 4 kB / 1.048 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.8967, allocations: 1.68 MB / 1.05 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8967, allocations: 0 / 1.05 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.8972, allocations: 108 kB / 1.05 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005785/0.8978, allocations: 154.4 kB / 1.05 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.8978, allocations: 12.06 kB / 1.05 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.8989, allocations: 1.716 MB / 1.052 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8989, allocations: 7.969 kB / 1.052 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.9007, allocations: 0.8116 MB / 1.053 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.9011, allocations: 247.5 kB / 1.053 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9012, allocations: 11.98 kB / 1.053 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.9018, allocations: 87.86 kB / 1.053 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.9019, allocations: 27.91 kB / 1.053 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.902, allocations: 23.98 kB / 1.053 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008422/0.9028, allocations: 0.6303 MB / 1.054 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.553e-06/0.9029, allocations: 0 / 1.054 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001066/0.9039, allocations: 367.1 kB / 1.054 GB, free: 8.973 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.0008143/0.9047, allocations: 390.7 kB / 1.055 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.9064, allocations: 0.5709 MB / 1.055 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9064, allocations: 0 / 1.055 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.9073, allocations: 324 kB / 1.055 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.9101, allocations: 0.4977 MB / 1.056 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.9136, allocations: 2.345 MB / 1.058 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.9143, allocations: 1.099 MB / 1.059 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.9145, allocations: 71.42 kB / 1.059 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of SimCode: time 8.11e-07/0.9145, allocations: 0 / 1.059 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of Templates: time 0.03997/0.9545, allocations: 31.47 MB / 1.09 GB, free: 4.266 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