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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008936/0.0008936, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006305/0.006305, allocations: 169.2 kB / 16.26 MB, free: 6.328 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 462.7 MB / 0.7364 GB, free: 324 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 15.44 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3339, allocations: 159.6 MB / 1.059 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04517/0.3791, allocations: 48.45 MB / 1.106 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.3966, allocations: 12.57 MB / 1.118 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.3992, allocations: 75.5 kB / 1.118 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.4016, allocations: 0.6174 MB / 1.119 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005238/0.4069, allocations: 1.699 MB / 1.121 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.4102, allocations: 1.228 MB / 1.122 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005269/0.4155, allocations: 4.359 MB / 1.126 GB, free: 336 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.4171, allocations: 1.027 MB / 1.127 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.4196, allocations: 1.081 MB / 1.128 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.4209, allocations: 0.8861 MB / 1.129 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.421, allocations: 44 kB / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.4232, allocations: 1.037 MB / 1.13 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.4234, allocations: 226.8 kB / 1.13 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006539/0.4241, allocations: 0.6193 MB / 1.131 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.4264, allocations: 1.88 MB / 1.133 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4264, allocations: 0 / 1.133 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4264, allocations: 4 kB / 1.133 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.4265, allocations: 0 / 1.133 GB, free: 9.465 MB / 0.8887 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.002246/0.4287, allocations: 1.472 MB / 1.134 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4288, allocations: 8.031 kB / 1.134 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.4294, allocations: 223.1 kB / 1.134 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.4312, allocations: 1.1 MB / 1.135 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/0.4316, allocations: 134.2 kB / 1.136 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4317, allocations: 76 kB / 1.136 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.4334, allocations: 1.008 MB / 1.137 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4335, allocations: 4 kB / 1.137 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.4336, allocations: 36 kB / 1.137 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.4336, allocations: 20 kB / 1.137 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.4352, allocations: 0.6946 MB / 1.137 GB, free: 4.523 MB / 0.8887 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.004884/0.4401, allocations: 4.448 MB / 1.142 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4414, allocations: 442.5 kB / 1.142 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.442, allocations: 240.6 kB / 1.142 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008275/0.4428, allocations: 1.148 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4429, allocations: 38.56 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.384e-06/0.4429, allocations: 0 / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.00307/0.4459, allocations: 1.158 MB / 1.145 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.446, allocations: 55.34 kB / 1.145 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.4471, allocations: 0.9355 MB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.4472, allocations: 33.7 kB / 1.146 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.4476, allocations: 0.5735 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4477, allocations: 114.5 kB / 1.146 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.4478, allocations: 41.7 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4479, allocations: 326 kB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.4485, allocations: 216.9 kB / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.4492, allocations: 398.9 kB / 1.147 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.4505, allocations: 0.6033 MB / 1.148 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4505, allocations: 4 kB / 1.148 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00168/0.4522, allocations: 0.7639 MB / 1.149 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4522, allocations: 8 kB / 1.149 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4523, allocations: 4 kB / 1.149 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007322/0.453, allocations: 167 kB / 1.149 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.4536, allocations: 163.8 kB / 1.149 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.4548, allocations: 1.712 MB / 1.151 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.4556, allocations: 123.5 kB / 1.151 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.4557, allocations: 27.98 kB / 1.151 GB, free: 5.914 MB / 0.9044 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.0004395/0.4561, allocations: 261.6 kB / 1.151 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.4563, allocations: 110.8 kB / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.4582, allocations: 0.7777 MB / 1.152 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4582, allocations: 7.938 kB / 1.152 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4583, allocations: 0 / 1.152 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.4583, allocations: 3.984 kB / 1.152 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.4612, allocations: 1.679 MB / 1.153 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4612, allocations: 4 kB / 1.153 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.4618, allocations: 108.1 kB / 1.154 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/0.4623, allocations: 154.3 kB / 1.154 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4624, allocations: 8 kB / 1.154 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.4634, allocations: 1.708 MB / 1.155 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4634, allocations: 0 / 1.155 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.465, allocations: 0.8348 MB / 1.156 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.4654, allocations: 243.6 kB / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4655, allocations: 12 kB / 1.156 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.4662, allocations: 91.77 kB / 1.157 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.4663, allocations: 31.89 kB / 1.157 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.4664, allocations: 15.98 kB / 1.157 GB, free: 15.63 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007719/0.4671, allocations: 0.6342 MB / 1.157 GB, free: 14.99 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.194e-06/0.4672, allocations: 0 / 1.157 GB, free: 14.99 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000977/0.4681, allocations: 371 kB / 1.158 GB, free: 14.62 MB / 0.92 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.0007507/0.4689, allocations: 382.7 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.4705, allocations: 0.5794 MB / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4705, allocations: 0 / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.4714, allocations: 320.2 kB / 1.159 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.4741, allocations: 0.4993 MB / 1.159 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.4772, allocations: 2.306 MB / 1.162 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.4779, allocations: 1.103 MB / 1.163 GB, free: 9.387 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006453/0.4785, allocations: 180 kB / 1.163 GB, free: 9.207 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.4787, allocations: 67.42 kB / 1.163 GB, free: 9.145 MB / 0.92 GB Notification: Performance of SimCode: time 6.02e-07/0.4787, allocations: 0 / 1.163 GB, free: 9.145 MB / 0.92 GB Notification: Performance of Templates: time 0.03263/0.5113, allocations: 19.05 MB / 1.181 GB, free: 6.328 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches