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 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.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.00101/0.00101, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008929/0.008929, allocations: 170.2 kB / 16.26 MB, free: 6.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.404/1.404, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003731, allocations: 10.12 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3259, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2058/0.5317, allocations: 185.8 MB / 1.24 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.5421, allocations: 5.709 MB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.5436, allocations: 31.75 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.5459, allocations: 0.5013 MB / 1.246 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.5513, allocations: 1.727 MB / 1.248 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.5544, allocations: 1.065 MB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.709/1.263, allocations: 4.096 MB / 1.253 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/1.265, allocations: 0.9273 MB / 1.254 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/1.267, allocations: 0.8644 MB / 1.255 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/1.269, allocations: 0.953 MB / 1.256 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/1.27, allocations: 49.88 kB / 1.256 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/1.273, allocations: 1.626 MB / 1.257 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/1.274, allocations: 499.8 kB / 1.258 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009254/1.274, allocations: 0.6503 MB / 1.258 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/1.278, allocations: 2.315 MB / 1.261 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.278, allocations: 0 / 1.261 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.694e-06/1.278, allocations: 0 / 1.261 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.709e-05/1.279, allocations: 0 / 1.261 GB, free: 4.691 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.002819/1.281, allocations: 1.371 MB / 1.262 GB, free: 19.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.281, allocations: 13.88 kB / 1.262 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/1.283, allocations: 329.4 kB / 1.262 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.285, allocations: 0.862 MB / 1.263 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/1.285, allocations: 75.44 kB / 1.263 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/1.285, allocations: 103.2 kB / 1.263 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/1.287, allocations: 1.087 MB / 1.264 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.287, allocations: 0 / 1.264 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.287, allocations: 46.23 kB / 1.264 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/1.287, allocations: 39.52 kB / 1.264 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/1.289, allocations: 1.003 MB / 1.265 GB, free: 19.46 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.006495/1.295, allocations: 4.258 MB / 1.27 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/1.296, allocations: 0.6029 MB / 1.27 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/1.297, allocations: 349.4 kB / 1.27 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/1.297, allocations: 108.8 kB / 1.271 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.297, allocations: 43.17 kB / 1.271 GB, free: 17.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/1.297, allocations: 0 / 1.271 GB, free: 17.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.004901/1.302, allocations: 2.223 MB / 1.273 GB, free: 16.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.302, allocations: 65.3 kB / 1.273 GB, free: 16.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.304, allocations: 0.8839 MB / 1.274 GB, free: 16.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/1.304, allocations: 38.11 kB / 1.274 GB, free: 16.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/1.304, allocations: 0.5176 MB / 1.274 GB, free: 16.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/1.304, allocations: 196.4 kB / 1.274 GB, free: 16.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/1.304, allocations: 60.98 kB / 1.274 GB, free: 16.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.304, allocations: 334.8 kB / 1.275 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/1.305, allocations: 292.4 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/1.306, allocations: 441.8 kB / 1.276 GB, free: 15.71 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.004424/1.31, allocations: 1.776 MB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.31, allocations: 1.156 kB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001765/1.312, allocations: 0.9325 MB / 1.278 GB, free: 15.31 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.312, allocations: 7.188 kB / 1.278 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.312, allocations: 11.66 kB / 1.278 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/1.312, allocations: 99.19 kB / 1.278 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/1.313, allocations: 170.9 kB / 1.278 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/1.316, allocations: 4.301 MB / 1.283 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.318, allocations: 72.58 kB / 1.283 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/1.318, allocations: 25 kB / 1.283 GB, free: 11.49 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 sytem: 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.0008176/1.319, allocations: 347.5 kB / 1.283 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/1.319, allocations: 98 kB / 1.283 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/1.319, allocations: 115.5 kB / 1.283 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.319, allocations: 9.25 kB / 1.283 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.319, allocations: 1.469 kB / 1.283 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.32, allocations: 0.7763 MB / 1.284 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/1.324, allocations: 2.01 MB / 1.286 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.324, allocations: 2.469 kB / 1.286 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/1.325, allocations: 153.5 kB / 1.286 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/1.325, allocations: 47.73 kB / 1.286 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/1.325, allocations: 15.25 kB / 1.286 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/1.326, allocations: 1.478 MB / 1.288 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.326, allocations: 10.38 kB / 1.288 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.328, allocations: 1.216 MB / 1.289 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/1.329, allocations: 256.6 kB / 1.289 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.329, allocations: 14.44 kB / 1.289 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/1.33, allocations: 79.92 kB / 1.289 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.33, allocations: 50.12 kB / 1.289 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/1.33, allocations: 35.94 kB / 1.289 GB, free: 8.824 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009893/1.331, allocations: 0.6162 MB / 1.29 GB, free: 8.734 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.331, allocations: 1.125 kB / 1.29 GB, free: 8.734 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001293/1.332, allocations: 305.4 kB / 1.29 GB, free: 8.73 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.0005604/1.333, allocations: 199 kB / 1.29 GB, free: 8.629 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.335, allocations: 1.006 MB / 1.291 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.335, allocations: 2.844 kB / 1.291 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006741/1.335, allocations: 454.9 kB / 1.292 GB, free: 8.172 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/1.339, allocations: 0.6253 MB / 1.292 GB, free: 8.117 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/1.343, allocations: 2.612 MB / 1.295 GB, free: 6.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/1.343, allocations: 1.169 MB / 1.296 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001078/1.344, allocations: 249.6 kB / 1.296 GB, free: 5.992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/1.345, allocations: 74.45 kB / 1.296 GB, free: 5.984 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.345, allocations: 0 / 1.296 GB, free: 5.984 MB / 1.014 GB Notification: Performance of Templates: time 0.03653/1.381, allocations: 21.2 MB / 1.317 GB, free: 2.945 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