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.001626/0.001626, allocations: 108 kB / 16.41 MB, free: 6.027 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.001594/0.001594, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.409/1.409, 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 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9286/0.9299, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05816/0.9881, allocations: 49.79 MB / 1.137 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02387/1.012, allocations: 12.67 MB / 1.15 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005043/1.017, allocations: 78.84 kB / 1.15 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003186/1.02, allocations: 0.763 MB / 1.15 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00818/1.029, allocations: 1.819 MB / 1.152 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005609/1.034, allocations: 1.365 MB / 1.154 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007627/1.042, allocations: 3.258 MB / 1.157 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/1.045, allocations: 1.255 MB / 1.158 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005196/1.05, allocations: 1.317 MB / 1.159 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/1.053, allocations: 0.9269 MB / 1.16 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006007/1.054, allocations: 95.75 kB / 1.16 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/1.058, allocations: 1.07 MB / 1.161 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007591/1.059, allocations: 293.8 kB / 1.162 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/1.061, allocations: 0.6696 MB / 1.162 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005932/1.067, allocations: 1.951 MB / 1.164 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.067, allocations: 0.9375 kB / 1.164 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.392e-06/1.067, allocations: 3.938 kB / 1.164 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.448e-05/1.067, allocations: 1.094 kB / 1.164 GB, free: 1.574 MB / 0.9044 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.005076/1.072, allocations: 1.704 MB / 1.166 GB, free: 440 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.072, allocations: 9.688 kB / 1.166 GB, free: 440 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.073, allocations: 207 kB / 1.166 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/1.076, allocations: 1.092 MB / 1.167 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/1.076, allocations: 68.94 kB / 1.167 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/1.077, allocations: 88.69 kB / 1.167 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/1.079, allocations: 1.005 MB / 1.168 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.079, allocations: 3.938 kB / 1.168 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/1.079, allocations: 35.03 kB / 1.168 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/1.079, allocations: 21.09 kB / 1.168 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/1.081, allocations: 0.6544 MB / 1.169 GB, free: 14.85 MB / 0.92 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.007038/1.088, allocations: 4.716 MB / 1.173 GB, free: 10.61 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/1.089, allocations: 398.3 kB / 1.174 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/1.09, allocations: 216.9 kB / 1.174 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/1.091, allocations: 1.148 MB / 1.175 GB, free: 8.949 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/1.091, allocations: 36.66 kB / 1.175 GB, free: 8.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/1.091, allocations: 1.062 kB / 1.175 GB, free: 8.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.003167/1.094, allocations: 1.074 MB / 1.176 GB, free: 8.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.094, allocations: 62.59 kB / 1.176 GB, free: 8.121 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/1.096, allocations: 0.9754 MB / 1.177 GB, free: 7.578 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/1.096, allocations: 31.86 kB / 1.177 GB, free: 7.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/1.097, allocations: 0.5903 MB / 1.178 GB, free: 7.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.097, allocations: 106.1 kB / 1.178 GB, free: 6.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.097, allocations: 116.2 kB / 1.178 GB, free: 6.855 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.097, allocations: 327 kB / 1.178 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/1.098, allocations: 198.4 kB / 1.179 GB, free: 6.441 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/1.099, allocations: 405.8 kB / 1.179 GB, free: 6.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.1, allocations: 0.5956 MB / 1.18 GB, free: 5.629 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.1, allocations: 2.594 kB / 1.18 GB, free: 5.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001999/1.102, allocations: 0.7577 MB / 1.18 GB, free: 5.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.102, allocations: 8.062 kB / 1.18 GB, free: 5.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.102, allocations: 6.438 kB / 1.18 GB, free: 5.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007431/1.103, allocations: 154.3 kB / 1.18 GB, free: 5.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/1.103, allocations: 149.3 kB / 1.181 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/1.105, allocations: 1.724 MB / 1.182 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/1.106, allocations: 89.02 kB / 1.182 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/1.106, allocations: 31.11 kB / 1.182 GB, free: 3.355 MB / 0.92 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.0005618/1.106, allocations: 272.3 kB / 1.183 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/1.107, allocations: 107.7 kB / 1.183 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/1.109, allocations: 0.717 MB / 1.183 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.109, allocations: 7.547 kB / 1.183 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.109, allocations: 8 kB / 1.184 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.109, allocations: 1.094 kB / 1.184 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/1.112, allocations: 1.636 MB / 1.185 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.112, allocations: 2.219 kB / 1.185 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/1.112, allocations: 85.72 kB / 1.185 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005729/1.113, allocations: 150.2 kB / 1.185 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/1.113, allocations: 17.58 kB / 1.185 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/1.114, allocations: 1.705 MB / 1.187 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.114, allocations: 1.156 kB / 1.187 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/1.116, allocations: 0.7736 MB / 1.188 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/1.116, allocations: 249.5 kB / 1.188 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/1.117, allocations: 8.344 kB / 1.188 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/1.117, allocations: 44.58 kB / 1.188 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/1.118, allocations: 32.7 kB / 1.188 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/1.118, allocations: 25.77 kB / 1.188 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00109/1.119, allocations: 0.6637 MB / 1.189 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.119, allocations: 0 / 1.189 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001521/1.12, allocations: 377.5 kB / 1.189 GB, free: 14.45 MB / 0.9356 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.001153/1.121, allocations: 409.2 kB / 1.19 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.123, allocations: 0.557 MB / 1.19 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.123, allocations: 1.375 kB / 1.19 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/1.124, allocations: 293.4 kB / 1.19 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.127, allocations: 0.5311 MB / 1.191 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/1.13, allocations: 1.83 MB / 1.193 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/1.131, allocations: 1.099 MB / 1.194 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/1.132, allocations: 73.7 kB / 1.194 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.132, allocations: 1.094 kB / 1.194 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of Templates: time 0.04497/1.177, allocations: 32.23 MB / 1.225 GB, free: 0.832 MB / 0.9512 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