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.00887/0.00887, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.00216/0.00216, allocations: 189.2 kB / 16.78 MB, free: 5.809 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.38 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.212/0.5643, allocations: 188.2 MB / 1.237 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.5746, allocations: 5.77 MB / 1.242 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.5765, allocations: 35.75 kB / 1.242 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.5785, allocations: 0.4974 MB / 1.243 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005381/0.584, allocations: 1.72 MB / 1.244 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.5874, allocations: 1.081 MB / 1.245 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7461/1.334, allocations: 4.089 MB / 1.249 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/1.335, allocations: 0.9655 MB / 1.25 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/1.337, allocations: 0.9023 MB / 1.251 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/1.34, allocations: 0.9987 MB / 1.252 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.34, allocations: 57.56 kB / 1.252 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/1.343, allocations: 1.643 MB / 1.254 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007533/1.344, allocations: 0.5083 MB / 1.254 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/1.345, allocations: 0.6592 MB / 1.255 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/1.348, allocations: 1.75 MB / 1.257 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.348, allocations: 0 / 1.257 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.505e-06/1.348, allocations: 0 / 1.257 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.613e-05/1.348, allocations: 3.094 kB / 1.257 GB, free: 4.125 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.003136/1.351, allocations: 1.626 MB / 1.258 GB, free: 19.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.351, allocations: 11.75 kB / 1.258 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/1.353, allocations: 328.5 kB / 1.259 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.355, allocations: 0.8716 MB / 1.26 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/1.355, allocations: 73.56 kB / 1.26 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.355, allocations: 100.1 kB / 1.26 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.357, allocations: 1.088 MB / 1.261 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/1.357, allocations: 2.781 kB / 1.261 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.357, allocations: 41.27 kB / 1.261 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/1.357, allocations: 39.09 kB / 1.261 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/1.36, allocations: 0.9938 MB / 1.262 GB, free: 18.88 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.007749/1.367, allocations: 4.245 MB / 1.266 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.368, allocations: 0.597 MB / 1.267 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/1.369, allocations: 339.8 kB / 1.267 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/1.369, allocations: 103.9 kB / 1.267 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/1.369, allocations: 42.2 kB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.746e-06/1.369, allocations: 4 kB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.005221/1.374, allocations: 2.196 MB / 1.269 GB, free: 16.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.375, allocations: 62.45 kB / 1.269 GB, free: 16.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.376, allocations: 0.8831 MB / 1.27 GB, free: 15.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/1.376, allocations: 40.11 kB / 1.27 GB, free: 15.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/1.377, allocations: 0.5195 MB / 1.271 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.377, allocations: 194.8 kB / 1.271 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/1.377, allocations: 129.6 kB / 1.271 GB, free: 15.56 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.377, allocations: 335.3 kB / 1.271 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/1.378, allocations: 288.9 kB / 1.272 GB, free: 15.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.378, allocations: 434.6 kB / 1.272 GB, free: 15.11 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.004116/1.382, allocations: 1.736 MB / 1.274 GB, free: 14.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/1.382, allocations: 5.219 kB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002397/1.385, allocations: 0.9275 MB / 1.275 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.385, allocations: 7.391 kB / 1.275 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/1.385, allocations: 7.938 kB / 1.275 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/1.385, allocations: 94.53 kB / 1.275 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/1.386, allocations: 166.4 kB / 1.275 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/1.39, allocations: 4.295 MB / 1.279 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.392, allocations: 68.52 kB / 1.279 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/1.392, allocations: 27.88 kB / 1.279 GB, free: 10.91 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.0007312/1.392, allocations: 345.1 kB / 1.279 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/1.393, allocations: 102.2 kB / 1.28 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/1.393, allocations: 112.2 kB / 1.28 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.393, allocations: 9.062 kB / 1.28 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.393, allocations: 0 / 1.28 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.394, allocations: 0.7678 MB / 1.28 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/1.397, allocations: 1.982 MB / 1.282 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.397, allocations: 5.766 kB / 1.282 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/1.398, allocations: 147.4 kB / 1.282 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/1.398, allocations: 38.8 kB / 1.282 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/1.398, allocations: 20.8 kB / 1.283 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/1.4, allocations: 1.494 MB / 1.284 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.4, allocations: 3.625 kB / 1.284 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/1.401, allocations: 1.204 MB / 1.285 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/1.402, allocations: 260.4 kB / 1.285 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.402, allocations: 14.66 kB / 1.285 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/1.403, allocations: 71.7 kB / 1.285 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.403, allocations: 49.7 kB / 1.286 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/1.403, allocations: 30.28 kB / 1.286 GB, free: 8.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008893/1.404, allocations: 0.6125 MB / 1.286 GB, free: 8.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.404, allocations: 4 kB / 1.286 GB, free: 8.156 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001227/1.405, allocations: 306.8 kB / 1.286 GB, free: 8.152 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.0005105/1.406, allocations: 191.4 kB / 1.287 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00162/1.407, allocations: 0.9922 MB / 1.288 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.407, allocations: 1.281 kB / 1.288 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/1.408, allocations: 446 kB / 1.288 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.411, allocations: 0.6266 MB / 1.289 GB, free: 7.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/1.415, allocations: 2.599 MB / 1.291 GB, free: 6.211 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/1.416, allocations: 1.172 MB / 1.292 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/1.416, allocations: 83.75 kB / 1.292 GB, free: 5.484 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.416, allocations: 0 / 1.292 GB, free: 5.484 MB / 1.014 GB Notification: Performance of Templates: time 0.03665/1.453, allocations: 26.97 MB / 1.319 GB, free: 8 kB / 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/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]