Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001087/0.001087, allocations: 115.2 kB / 16.37 MB, free: 6.012 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.00105/0.00105, allocations: 192.6 kB / 17.31 MB, free: 5.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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.22 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04667/0.3346, allocations: 49.79 MB / 1.075 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4984/0.8331, allocations: 12.67 MB / 1.088 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.836, allocations: 81.75 kB / 1.088 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.8379, allocations: 0.7524 MB / 1.089 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.843, allocations: 1.828 MB / 1.09 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.8466, allocations: 1.362 MB / 1.092 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004836/0.8515, allocations: 3.254 MB / 1.095 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.8534, allocations: 1.25 MB / 1.096 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.8567, allocations: 1.303 MB / 1.097 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.858, allocations: 0.9309 MB / 1.098 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.8582, allocations: 96.09 kB / 1.098 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.8608, allocations: 1.062 MB / 1.099 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.8611, allocations: 292.8 kB / 1.1 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.8619, allocations: 0.684 MB / 1.1 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.8651, allocations: 1.947 MB / 1.102 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8652, allocations: 4 kB / 1.102 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8652, allocations: 0 / 1.102 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.8652, allocations: 0 / 1.102 GB, free: 9.059 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.002658/0.8679, allocations: 1.7 MB / 1.104 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8679, allocations: 9.969 kB / 1.104 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.8686, allocations: 207.2 kB / 1.104 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.8708, allocations: 1.093 MB / 1.105 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.8708, allocations: 68.47 kB / 1.105 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.871, allocations: 83.25 kB / 1.105 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.8727, allocations: 1.005 MB / 1.106 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.8727, allocations: 9.859 kB / 1.106 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.8728, allocations: 41.62 kB / 1.106 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.8728, allocations: 22 kB / 1.106 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.8743, allocations: 0.6472 MB / 1.107 GB, free: 6.406 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.004675/0.879, allocations: 4.719 MB / 1.112 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.88, allocations: 389.7 kB / 1.112 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.8805, allocations: 225.1 kB / 1.112 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/0.8811, allocations: 1.147 MB / 1.113 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.8812, allocations: 40.92 kB / 1.113 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.8812, allocations: 0 / 1.113 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.002718/0.8839, allocations: 1.074 MB / 1.114 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.8839, allocations: 59.03 kB / 1.114 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.8851, allocations: 0.9792 MB / 1.115 GB, free: 164 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.8852, allocations: 33.06 kB / 1.115 GB, free: 128 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008314/0.886, allocations: 0.6279 MB / 1.116 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.8861, allocations: 105.8 kB / 1.116 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.8863, allocations: 111.2 kB / 1.116 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8864, allocations: 326.8 kB / 1.117 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.887, allocations: 199.1 kB / 1.117 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.8877, allocations: 408.8 kB / 1.117 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.8889, allocations: 0.5927 MB / 1.118 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8889, allocations: 2.188 kB / 1.118 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00166/0.8905, allocations: 0.7571 MB / 1.118 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8906, allocations: 12.61 kB / 1.118 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8906, allocations: 6.031 kB / 1.118 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/0.8913, allocations: 157.5 kB / 1.119 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.8919, allocations: 149.3 kB / 1.119 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.8929, allocations: 1.725 MB / 1.12 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.8937, allocations: 82.72 kB / 1.121 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.8938, allocations: 30.69 kB / 1.121 GB, free: 12.57 MB / 0.8575 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.000424/0.8942, allocations: 275.9 kB / 1.121 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.8944, allocations: 110.6 kB / 1.121 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.8962, allocations: 0.7231 MB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8962, allocations: 4.859 kB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8962, allocations: 5.188 kB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.8962, allocations: 2.25 kB / 1.122 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.8992, allocations: 1.639 MB / 1.123 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8993, allocations: 2.344 kB / 1.123 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.8997, allocations: 86.77 kB / 1.123 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005783/0.9003, allocations: 152.6 kB / 1.123 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.9004, allocations: 14.84 kB / 1.123 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009916/0.9014, allocations: 1.706 MB / 1.125 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9014, allocations: 2.281 kB / 1.125 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.9029, allocations: 0.7806 MB / 1.126 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.9034, allocations: 241.9 kB / 1.126 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.9035, allocations: 8.234 kB / 1.126 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.9041, allocations: 51.36 kB / 1.126 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.9042, allocations: 31.03 kB / 1.126 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.9043, allocations: 18.41 kB / 1.126 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008811/0.9051, allocations: 0.6582 MB / 1.127 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9051, allocations: 0 / 1.127 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001239/0.9064, allocations: 373.4 kB / 1.127 GB, free: 8.508 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.0009226/0.9073, allocations: 430.2 kB / 1.128 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.9089, allocations: 0.5511 MB / 1.128 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.9089, allocations: 1.125 kB / 1.128 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.9097, allocations: 292.1 kB / 1.128 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.9119, allocations: 0.5118 MB / 1.129 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.915, allocations: 1.809 MB / 1.131 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.9158, allocations: 1.102 MB / 1.132 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007448/0.9166, allocations: 190.4 kB / 1.132 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.9167, allocations: 71.84 kB / 1.132 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.9167, allocations: 0 / 1.132 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of Templates: time 0.03559/0.9523, allocations: 20.65 MB / 1.152 GB, free: 13.89 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches