Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001676/0.001676, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.7 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 67.52 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9805/1.344, allocations: 190.5 MB / 1.254 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00985/1.354, allocations: 5.71 MB / 1.26 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.356, allocations: 42.22 kB / 1.26 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/1.357, allocations: 0.5705 MB / 1.26 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/1.362, allocations: 1.835 MB / 1.262 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003315/1.365, allocations: 1.164 MB / 1.263 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003886/1.369, allocations: 2.951 MB / 1.266 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/1.371, allocations: 1.123 MB / 1.267 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/1.373, allocations: 1.047 MB / 1.268 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/1.374, allocations: 0.9684 MB / 1.269 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/1.375, allocations: 121.7 kB / 1.269 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/1.378, allocations: 1.443 MB / 1.271 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007415/1.379, allocations: 0.5734 MB / 1.271 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.38, allocations: 0.7231 MB / 1.272 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/1.384, allocations: 2.311 MB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.384, allocations: 1.062 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.384, allocations: 0 / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.322e-05/1.384, allocations: 1 kB / 1.274 GB, free: 5.777 MB / 0.9981 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.003715/1.388, allocations: 1.625 MB / 1.276 GB, free: 20.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.388, allocations: 10.69 kB / 1.276 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/1.39, allocations: 331.6 kB / 1.276 GB, free: 20.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/1.392, allocations: 0.8701 MB / 1.277 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/1.392, allocations: 73.92 kB / 1.277 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.393, allocations: 100.8 kB / 1.277 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/1.395, allocations: 1.085 MB / 1.278 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/1.395, allocations: 1.5 kB / 1.278 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.395, allocations: 42.12 kB / 1.278 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.393e-05/1.395, allocations: 43.39 kB / 1.278 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/1.397, allocations: 0.9971 MB / 1.279 GB, free: 20.5 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.007059/1.404, allocations: 4.269 MB / 1.284 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/1.405, allocations: 0.5949 MB / 1.284 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/1.406, allocations: 345.4 kB / 1.284 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002078/1.406, allocations: 104.6 kB / 1.285 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.406, allocations: 44.5 kB / 1.285 GB, free: 18.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.896e-06/1.406, allocations: 0.8125 kB / 1.285 GB, free: 18.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.00442/1.411, allocations: 2.201 MB / 1.287 GB, free: 17.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.411, allocations: 59.06 kB / 1.287 GB, free: 17.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.412, allocations: 0.8819 MB / 1.288 GB, free: 17.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/1.412, allocations: 38.05 kB / 1.288 GB, free: 17.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/1.412, allocations: 0.5147 MB / 1.288 GB, free: 17.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.412, allocations: 198.1 kB / 1.288 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.413, allocations: 131.8 kB / 1.288 GB, free: 17.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.413, allocations: 335.3 kB / 1.289 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/1.413, allocations: 284.9 kB / 1.289 GB, free: 16.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/1.414, allocations: 436.3 kB / 1.29 GB, free: 16.76 MB / 1.014 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.00396/1.418, allocations: 1.753 MB / 1.291 GB, free: 16.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.418, allocations: 2.031 kB / 1.291 GB, free: 16.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001716/1.42, allocations: 0.9265 MB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.42, allocations: 7.5 kB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.42, allocations: 8.562 kB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/1.42, allocations: 97.02 kB / 1.292 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/1.421, allocations: 163.4 kB / 1.292 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/1.424, allocations: 4.637 MB / 1.297 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.426, allocations: 26.34 kB / 1.297 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/1.426, allocations: 27.44 kB / 1.297 GB, free: 12.32 MB / 1.014 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.0007486/1.426, allocations: 347.8 kB / 1.297 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.427, allocations: 101.9 kB / 1.297 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/1.427, allocations: 109.9 kB / 1.298 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.427, allocations: 10.38 kB / 1.298 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.427, allocations: 3.938 kB / 1.298 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/1.428, allocations: 0.7674 MB / 1.298 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/1.431, allocations: 1.987 MB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.431, allocations: 4.281 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/1.432, allocations: 145 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/1.432, allocations: 39.78 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/1.432, allocations: 19.38 kB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/1.434, allocations: 1.608 MB / 1.302 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.434, allocations: 8.031 kB / 1.302 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/1.436, allocations: 1.21 MB / 1.303 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/1.436, allocations: 254.5 kB / 1.303 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/1.436, allocations: 17.98 kB / 1.303 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/1.437, allocations: 36.72 kB / 1.303 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.437, allocations: 53.45 kB / 1.304 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/1.437, allocations: 27.11 kB / 1.304 GB, free: 9.605 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009445/1.438, allocations: 0.6147 MB / 1.304 GB, free: 9.512 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.438, allocations: 0 / 1.304 GB, free: 9.512 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001366/1.44, allocations: 300.5 kB / 1.304 GB, free: 9.512 MB / 1.014 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.000502/1.44, allocations: 204.3 kB / 1.305 GB, free: 9.406 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001947/1.442, allocations: 1.1 MB / 1.306 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.442, allocations: 2.656 kB / 1.306 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/1.443, allocations: 451.5 kB / 1.306 GB, free: 8.957 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.446, allocations: 0.6486 MB / 1.307 GB, free: 8.875 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/1.451, allocations: 2.124 MB / 1.309 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.452, allocations: 1.176 MB / 1.31 GB, free: 7.254 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001427/1.453, allocations: 259 kB / 1.31 GB, free: 7.191 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/1.454, allocations: 74.11 kB / 1.31 GB, free: 7.188 MB / 1.014 GB Notification: Performance of SimCode: time 6.02e-07/1.454, allocations: 0 / 1.31 GB, free: 7.188 MB / 1.014 GB Notification: Performance of Templates: time 0.04009/1.494, allocations: 22.26 MB / 1.332 GB, free: 2.809 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches