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.001194/0.001194, allocations: 110 kB / 16.37 MB, free: 6.008 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.001131/0.001131, allocations: 195.3 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.19 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.5/2.5, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 68.39 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04958/0.3622, allocations: 49.79 MB / 1.067 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6377/1, allocations: 12.66 MB / 1.08 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/1.004, allocations: 84.22 kB / 1.08 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002691/1.006, allocations: 0.7565 MB / 1.081 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006024/1.012, allocations: 1.825 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/1.016, allocations: 1.369 MB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007014/1.023, allocations: 3.252 MB / 1.087 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/1.027, allocations: 1.257 MB / 1.088 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004996/1.032, allocations: 1.303 MB / 1.089 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/1.034, allocations: 0.9281 MB / 1.09 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005955/1.035, allocations: 95.56 kB / 1.09 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/1.04, allocations: 1.07 MB / 1.091 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007926/1.04, allocations: 290.7 kB / 1.092 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001982/1.042, allocations: 0.6733 MB / 1.092 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/1.048, allocations: 1.952 MB / 1.094 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.048, allocations: 2.109 kB / 1.094 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/1.048, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.319e-05/1.048, allocations: 0 / 1.094 GB, free: 10.65 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.003872/1.052, allocations: 1.698 MB / 1.096 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.052, allocations: 14.03 kB / 1.096 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/1.053, allocations: 206 kB / 1.096 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/1.056, allocations: 1.095 MB / 1.097 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/1.056, allocations: 63.31 kB / 1.097 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.056, allocations: 87.03 kB / 1.097 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/1.058, allocations: 1.003 MB / 1.098 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/1.058, allocations: 4.719 kB / 1.098 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/1.058, allocations: 37.2 kB / 1.098 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/1.058, allocations: 25.88 kB / 1.098 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/1.061, allocations: 0.6502 MB / 1.099 GB, free: 8.98 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.00662/1.067, allocations: 4.722 MB / 1.104 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/1.068, allocations: 392.7 kB / 1.104 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/1.069, allocations: 220.5 kB / 1.104 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006925/1.07, allocations: 1.15 MB / 1.105 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/1.07, allocations: 39.03 kB / 1.105 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.635e-06/1.07, allocations: 0.875 kB / 1.105 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.003019/1.073, allocations: 1.078 MB / 1.106 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/1.073, allocations: 58.19 kB / 1.106 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/1.074, allocations: 0.9786 MB / 1.107 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/1.074, allocations: 35.12 kB / 1.107 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.075, allocations: 0.5871 MB / 1.108 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/1.075, allocations: 102.9 kB / 1.108 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/1.075, allocations: 114.3 kB / 1.108 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.886e-05/1.075, allocations: 325.7 kB / 1.109 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/1.076, allocations: 201.6 kB / 1.109 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/1.076, allocations: 404.1 kB / 1.109 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.078, allocations: 0.5977 MB / 1.11 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.078, allocations: 2.344 kB / 1.11 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00176/1.079, allocations: 0.7606 MB / 1.11 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.079, allocations: 7.656 kB / 1.11 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.079, allocations: 10.56 kB / 1.11 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/1.08, allocations: 152.6 kB / 1.111 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/1.081, allocations: 148.7 kB / 1.111 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008927/1.082, allocations: 1.722 MB / 1.112 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/1.083, allocations: 87.52 kB / 1.113 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/1.083, allocations: 29.58 kB / 1.113 GB, free: 0.5273 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.0004926/1.083, allocations: 273.3 kB / 1.113 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.083, allocations: 107.8 kB / 1.113 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.085, allocations: 0.7283 MB / 1.114 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.085, allocations: 5.656 kB / 1.114 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.085, allocations: 0 / 1.114 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.085, allocations: 9.422 kB / 1.114 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/1.089, allocations: 1.633 MB / 1.115 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.089, allocations: 1.25 kB / 1.115 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/1.089, allocations: 98.78 kB / 1.115 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005993/1.09, allocations: 140.4 kB / 1.115 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/1.09, allocations: 14.97 kB / 1.116 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/1.091, allocations: 1.708 MB / 1.117 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.091, allocations: 1.625 kB / 1.117 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/1.093, allocations: 0.7871 MB / 1.118 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/1.093, allocations: 242.3 kB / 1.118 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.094, allocations: 7.562 kB / 1.118 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/1.094, allocations: 46.75 kB / 1.118 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/1.094, allocations: 38.72 kB / 1.118 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/1.094, allocations: 24.75 kB / 1.118 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00104/1.095, allocations: 0.6591 MB / 1.119 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.095, allocations: 1.312 kB / 1.119 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00155/1.097, allocations: 372.7 kB / 1.119 GB, free: 12.5 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.0009936/1.098, allocations: 407.3 kB / 1.12 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.1, allocations: 0.5493 MB / 1.12 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.1, allocations: 5.469 kB / 1.12 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/1.101, allocations: 293.7 kB / 1.12 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.103, allocations: 0.5334 MB / 1.121 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/1.106, allocations: 1.795 MB / 1.123 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/1.107, allocations: 1.103 MB / 1.124 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009016/1.108, allocations: 189.7 kB / 1.124 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.108, allocations: 71.34 kB / 1.124 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of SimCode: time 9.02e-07/1.108, allocations: 0 / 1.124 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of Templates: time 0.04038/1.149, allocations: 20.65 MB / 1.144 GB, free: 2.922 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 cvode -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