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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009864/0.0009865, allocations: 97.78 kB / 16.02 MB, free: 76 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.001282/0.001282, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.859/2.859, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004008, allocations: 12.92 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3582, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2247/0.5829, allocations: 185.8 MB / 1.241 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.5948, allocations: 5.716 MB / 1.246 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.5972, allocations: 35.75 kB / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.5994, allocations: 0.4896 MB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.6058, allocations: 1.726 MB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.6093, allocations: 1.079 MB / 1.25 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7699/1.379, allocations: 4.094 MB / 1.254 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/1.382, allocations: 0.9286 MB / 1.254 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/1.385, allocations: 0.8679 MB / 1.255 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/1.388, allocations: 0.9457 MB / 1.256 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005089/1.388, allocations: 46.06 kB / 1.256 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/1.393, allocations: 1.632 MB / 1.258 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009102/1.394, allocations: 497.8 kB / 1.258 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/1.395, allocations: 0.6496 MB / 1.259 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003376/1.399, allocations: 1.726 MB / 1.261 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.399, allocations: 0 / 1.261 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.665e-06/1.399, allocations: 0 / 1.261 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.649e-05/1.399, allocations: 0 / 1.261 GB, free: 4.648 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.003551/1.402, allocations: 1.374 MB / 1.262 GB, free: 19.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.402, allocations: 8.656 kB / 1.262 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/1.405, allocations: 330.5 kB / 1.262 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.406, allocations: 0.8667 MB / 1.263 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/1.406, allocations: 75.44 kB / 1.263 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.407, allocations: 95.47 kB / 1.263 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/1.409, allocations: 1.097 MB / 1.264 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.409, allocations: 0 / 1.264 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.409, allocations: 44.98 kB / 1.264 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/1.409, allocations: 38.81 kB / 1.264 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/1.411, allocations: 1.005 MB / 1.265 GB, free: 19.41 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.008242/1.419, allocations: 4.257 MB / 1.27 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.421, allocations: 0.5986 MB / 1.27 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/1.421, allocations: 347.1 kB / 1.271 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/1.421, allocations: 107 kB / 1.271 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.422, allocations: 52.36 kB / 1.271 GB, free: 17.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/1.422, allocations: 0 / 1.271 GB, free: 17.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.005838/1.427, allocations: 2.221 MB / 1.273 GB, free: 16.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/1.427, allocations: 65.12 kB / 1.273 GB, free: 16.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.429, allocations: 0.8841 MB / 1.274 GB, free: 16.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.429, allocations: 38.08 kB / 1.274 GB, free: 16.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/1.429, allocations: 0.5153 MB / 1.274 GB, free: 16.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/1.43, allocations: 197.8 kB / 1.275 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/1.43, allocations: 61.58 kB / 1.275 GB, free: 16.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.43, allocations: 333.2 kB / 1.275 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/1.43, allocations: 291.1 kB / 1.275 GB, free: 15.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/1.431, allocations: 439.4 kB / 1.276 GB, free: 15.66 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.004438/1.436, allocations: 1.782 MB / 1.277 GB, free: 15.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.436, allocations: 1.688 kB / 1.277 GB, free: 15.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001907/1.438, allocations: 0.9324 MB / 1.278 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.438, allocations: 6.562 kB / 1.278 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.438, allocations: 7.906 kB / 1.278 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/1.438, allocations: 101.1 kB / 1.278 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/1.439, allocations: 170 kB / 1.279 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/1.442, allocations: 4.294 MB / 1.283 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.444, allocations: 78.16 kB / 1.283 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/1.444, allocations: 27 kB / 1.283 GB, free: 11.43 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.0008022/1.444, allocations: 344.5 kB / 1.283 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/1.445, allocations: 99.41 kB / 1.283 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/1.445, allocations: 112.2 kB / 1.283 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.445, allocations: 13.06 kB / 1.283 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.445, allocations: 0 / 1.283 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/1.446, allocations: 0.7741 MB / 1.284 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/1.45, allocations: 2.004 MB / 1.286 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.45, allocations: 7.969 kB / 1.286 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/1.451, allocations: 155 kB / 1.286 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/1.451, allocations: 43.72 kB / 1.286 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/1.451, allocations: 15.03 kB / 1.286 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/1.452, allocations: 1.489 MB / 1.288 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.452, allocations: 11.73 kB / 1.288 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/1.454, allocations: 1.223 MB / 1.289 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/1.455, allocations: 256.3 kB / 1.289 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.455, allocations: 15.03 kB / 1.289 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008438/1.456, allocations: 71.53 kB / 1.289 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.456, allocations: 55.25 kB / 1.289 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/1.456, allocations: 30.94 kB / 1.289 GB, free: 8.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009964/1.457, allocations: 0.6165 MB / 1.29 GB, free: 8.684 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.457, allocations: 0 / 1.29 GB, free: 8.684 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001356/1.458, allocations: 304.5 kB / 1.29 GB, free: 8.684 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.000507/1.459, allocations: 188.5 kB / 1.29 GB, free: 8.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.461, allocations: 1.005 MB / 1.291 GB, free: 8.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.461, allocations: 5.844 kB / 1.291 GB, free: 8.246 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/1.461, allocations: 449.3 kB / 1.292 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/1.465, allocations: 0.6277 MB / 1.292 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/1.469, allocations: 2.697 MB / 1.295 GB, free: 6.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.47, allocations: 1.163 MB / 1.296 GB, free: 5.969 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/1.47, allocations: 82.14 kB / 1.296 GB, free: 5.961 MB / 1.014 GB Notification: Performance of SimCode: time 2.505e-06/1.47, allocations: 3.078 kB / 1.296 GB, free: 5.961 MB / 1.014 GB Notification: Performance of Templates: time 0.04503/1.515, allocations: 26.82 MB / 1.322 GB, free: 15.49 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]