Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008022/0.008022, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001336/0.001337, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.523/2.523, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.34 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.061/1.367, allocations: 190.5 MB / 1.274 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01066/1.378, allocations: 5.707 MB / 1.28 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/1.38, allocations: 41.09 kB / 1.28 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/1.382, allocations: 0.5941 MB / 1.28 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007466/1.389, allocations: 1.901 MB / 1.282 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/1.394, allocations: 1.195 MB / 1.283 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006291/1.4, allocations: 2.962 MB / 1.286 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/1.402, allocations: 1.122 MB / 1.287 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/1.405, allocations: 1.105 MB / 1.288 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/1.408, allocations: 0.9659 MB / 1.289 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002981/1.409, allocations: 123.2 kB / 1.289 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/1.413, allocations: 1.455 MB / 1.291 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009898/1.414, allocations: 0.5677 MB / 1.291 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/1.416, allocations: 0.722 MB / 1.292 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005777/1.422, allocations: 2.337 MB / 1.294 GB, free: 3.027 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.422, allocations: 0.7031 kB / 1.294 GB, free: 3.027 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.425e-06/1.422, allocations: 2 kB / 1.294 GB, free: 3.027 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.957e-05/1.422, allocations: 0 / 1.294 GB, free: 3.027 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003451/1.425, allocations: 1.666 MB / 1.296 GB, free: 2.168 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.425, allocations: 9.531 kB / 1.296 GB, free: 2.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/1.427, allocations: 337.1 kB / 1.296 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/1.429, allocations: 0.9194 MB / 1.297 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/1.429, allocations: 72.91 kB / 1.297 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.43, allocations: 98.31 kB / 1.297 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/1.432, allocations: 1.077 MB / 1.298 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/1.432, allocations: 1.5 kB / 1.298 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.432, allocations: 46.23 kB / 1.298 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/1.432, allocations: 42.14 kB / 1.298 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.434, allocations: 0.9975 MB / 1.299 GB, free: 1.68 MB / 1.014 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.006599/1.44, allocations: 4.232 MB / 1.304 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/1.441, allocations: 0.6002 MB / 1.304 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/1.442, allocations: 340.4 kB / 1.304 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.442, allocations: 103.5 kB / 1.305 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.442, allocations: 39.5 kB / 1.305 GB, free: 15.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.095e-06/1.442, allocations: 0.8125 kB / 1.305 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.004803/1.447, allocations: 2.218 MB / 1.307 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.447, allocations: 62.44 kB / 1.307 GB, free: 14.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.448, allocations: 0.8813 MB / 1.308 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/1.448, allocations: 40.14 kB / 1.308 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/1.449, allocations: 0.5324 MB / 1.308 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/1.449, allocations: 202.5 kB / 1.308 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/1.449, allocations: 133 kB / 1.309 GB, free: 14.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.45, allocations: 337 kB / 1.309 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/1.45, allocations: 288.5 kB / 1.309 GB, free: 14.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/1.451, allocations: 439.2 kB / 1.31 GB, free: 13.88 MB / 1.029 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/1.455, allocations: 1.737 MB / 1.311 GB, free: 13.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/1.455, allocations: 1.031 kB / 1.311 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001806/1.457, allocations: 0.9285 MB / 1.312 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.457, allocations: 7.125 kB / 1.312 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.457, allocations: 5.094 kB / 1.312 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/1.457, allocations: 102.3 kB / 1.312 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/1.458, allocations: 164.8 kB / 1.312 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/1.462, allocations: 4.631 MB / 1.317 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.464, allocations: 33.86 kB / 1.317 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/1.464, allocations: 30.48 kB / 1.317 GB, free: 9.445 MB / 1.029 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009151/1.465, allocations: 341.9 kB / 1.317 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/1.465, allocations: 115.1 kB / 1.317 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/1.465, allocations: 109.8 kB / 1.318 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.465, allocations: 5.656 kB / 1.318 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.465, allocations: 0.875 kB / 1.318 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/1.467, allocations: 0.7655 MB / 1.318 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/1.472, allocations: 1.99 MB / 1.32 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.472, allocations: 3.688 kB / 1.32 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/1.472, allocations: 147.5 kB / 1.32 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/1.473, allocations: 43.47 kB / 1.32 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/1.473, allocations: 17 kB / 1.32 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.474, allocations: 1.597 MB / 1.322 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.474, allocations: 4.844 kB / 1.322 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/1.477, allocations: 1.217 MB / 1.323 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009143/1.478, allocations: 256.8 kB / 1.323 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/1.478, allocations: 18.69 kB / 1.323 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.479, allocations: 36.64 kB / 1.323 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.48, allocations: 49.83 kB / 1.324 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.48, allocations: 34.69 kB / 1.324 GB, free: 6.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001425/1.481, allocations: 0.6128 MB / 1.324 GB, free: 6.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.91e-07/1.481, allocations: 0 / 1.324 GB, free: 6.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001872/1.483, allocations: 310.1 kB / 1.324 GB, free: 6.621 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008185/1.484, allocations: 196.5 kB / 1.325 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001924/1.486, allocations: 1.018 MB / 1.326 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.486, allocations: 0.7812 kB / 1.326 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007143/1.487, allocations: 444.2 kB / 1.326 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.49, allocations: 0.6602 MB / 1.327 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/1.494, allocations: 2.128 MB / 1.329 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.495, allocations: 1.166 MB / 1.33 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001132/1.496, allocations: 255.8 kB / 1.33 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/1.497, allocations: 74.94 kB / 1.33 GB, free: 4.258 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/1.497, allocations: 0 / 1.33 GB, free: 4.258 MB / 1.029 GB Notification: Performance of Templates: time 0.0444/1.541, allocations: 22.46 MB / 1.352 GB, free: 14.68 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches