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.001655/0.001655, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001834/0.001834, allocations: 185.6 kB / 17.34 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.24/2.24, allocations: 390.2 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.9537, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2432/1.197, allocations: 190.5 MB / 1.275 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01025/1.207, allocations: 5.705 MB / 1.28 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/1.209, allocations: 39.75 kB / 1.28 GB, free: 9.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/1.211, allocations: 0.5669 MB / 1.281 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/1.217, allocations: 1.835 MB / 1.283 GB, free: 7.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/1.22, allocations: 1.176 MB / 1.284 GB, free: 5.852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004629/1.225, allocations: 2.964 MB / 1.287 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/1.227, allocations: 1.126 MB / 1.288 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/1.229, allocations: 1.082 MB / 1.289 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/1.231, allocations: 0.9588 MB / 1.29 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/1.231, allocations: 124 kB / 1.29 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/1.234, allocations: 1.438 MB / 1.291 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005812/1.234, allocations: 0.5689 MB / 1.292 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/1.235, allocations: 0.7234 MB / 1.293 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/1.238, allocations: 2.337 MB / 1.295 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.238, allocations: 0 / 1.295 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/1.238, allocations: 0 / 1.295 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.596e-05/1.238, allocations: 0 / 1.295 GB, free: 10.49 MB / 1.029 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.002581/1.241, allocations: 1.616 MB / 1.296 GB, free: 8.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.241, allocations: 12.03 kB / 1.296 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.243, allocations: 330.2 kB / 1.297 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.245, allocations: 0.9174 MB / 1.298 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/1.245, allocations: 74 kB / 1.298 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.245, allocations: 96 kB / 1.298 GB, free: 7.359 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/1.247, allocations: 1.091 MB / 1.299 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.247, allocations: 0 / 1.299 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/1.247, allocations: 44 kB / 1.299 GB, free: 6.219 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/1.247, allocations: 41.94 kB / 1.299 GB, free: 6.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/1.248, allocations: 0.9954 MB / 1.3 GB, free: 5.184 MB / 1.029 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.00603/1.254, allocations: 4.215 MB / 1.304 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/1.255, allocations: 0.5942 MB / 1.305 GB, free: 68 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/1.256, allocations: 338.6 kB / 1.305 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.256, allocations: 105.5 kB / 1.305 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/1.256, allocations: 39 kB / 1.305 GB, free: 15.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 3.026e-06/1.256, allocations: 7.938 kB / 1.305 GB, free: 15.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=55): time 0.003954/1.26, allocations: 2.204 MB / 1.307 GB, free: 13.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/1.26, allocations: 63.84 kB / 1.307 GB, free: 13.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/1.261, allocations: 0.8804 MB / 1.308 GB, free: 12.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/1.261, allocations: 37.7 kB / 1.308 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/1.261, allocations: 0.5224 MB / 1.309 GB, free: 11.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/1.262, allocations: 185.3 kB / 1.309 GB, free: 11.51 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/1.262, allocations: 130.5 kB / 1.309 GB, free: 11.38 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.262, allocations: 334 kB / 1.309 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/1.262, allocations: 289.8 kB / 1.31 GB, free: 10.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/1.263, allocations: 433 kB / 1.31 GB, free: 10.28 MB / 1.045 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.003658/1.267, allocations: 1.741 MB / 1.312 GB, free: 8.473 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.267, allocations: 4 kB / 1.312 GB, free: 8.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001416/1.268, allocations: 0.9223 MB / 1.313 GB, free: 7.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.268, allocations: 8 kB / 1.313 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.268, allocations: 4 kB / 1.313 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/1.268, allocations: 102.4 kB / 1.313 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/1.269, allocations: 163.8 kB / 1.313 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/1.272, allocations: 4.628 MB / 1.317 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/1.273, allocations: 36.06 kB / 1.317 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/1.273, allocations: 28 kB / 1.317 GB, free: 2.141 MB / 1.045 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.0005426/1.274, allocations: 349.5 kB / 1.318 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.274, allocations: 102.8 kB / 1.318 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/1.274, allocations: 109.2 kB / 1.318 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.274, allocations: 4 kB / 1.318 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.274, allocations: 4 kB / 1.318 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/1.275, allocations: 0.7691 MB / 1.319 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/1.278, allocations: 1.984 MB / 1.321 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.278, allocations: 416 / 1.321 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/1.279, allocations: 155.8 kB / 1.321 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-05/1.279, allocations: 36.83 kB / 1.321 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/1.279, allocations: 23.92 kB / 1.321 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.28, allocations: 1.602 MB / 1.322 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.28, allocations: 7.969 kB / 1.322 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.282, allocations: 1.216 MB / 1.324 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/1.282, allocations: 251.9 kB / 1.324 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.282, allocations: 12 kB / 1.324 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/1.283, allocations: 42.47 kB / 1.324 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.283, allocations: 43.83 kB / 1.324 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/1.283, allocations: 35.97 kB / 1.324 GB, free: 11.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007456/1.284, allocations: 0.6122 MB / 1.325 GB, free: 10.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.284, allocations: 0 / 1.325 GB, free: 10.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009088/1.285, allocations: 300 kB / 1.325 GB, free: 10.12 MB / 1.061 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.0004685/1.285, allocations: 202.4 kB / 1.325 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.287, allocations: 1.01 MB / 1.326 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.287, allocations: 5 kB / 1.326 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/1.288, allocations: 446.7 kB / 1.326 GB, free: 8.422 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.29, allocations: 0.6583 MB / 1.327 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/1.294, allocations: 2.156 MB / 1.329 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/1.295, allocations: 1.174 MB / 1.33 GB, free: 4.348 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.295, allocations: 75.44 kB / 1.33 GB, free: 4.273 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/1.295, allocations: 0 / 1.33 GB, free: 4.273 MB / 1.061 GB Notification: Performance of Templates: time 0.03946/1.334, allocations: 27.04 MB / 1.357 GB, free: 9.375 MB / 1.092 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]