Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001663/0.001663, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.001725/0.001725, allocations: 185.2 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8984/0.9003, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.24/1.14, allocations: 190.5 MB / 1.353 GB, free: 4.574 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01108/1.151, allocations: 5.702 MB / 1.359 GB, free: 14.86 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.153, allocations: 43.75 kB / 1.359 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/1.155, allocations: 0.6059 MB / 1.36 GB, free: 14.21 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006096/1.161, allocations: 1.894 MB / 1.361 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/1.165, allocations: 1.194 MB / 1.363 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004908/1.17, allocations: 2.962 MB / 1.366 GB, free: 8.148 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/1.172, allocations: 1.128 MB / 1.367 GB, free: 7 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/1.174, allocations: 1.098 MB / 1.368 GB, free: 5.898 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/1.177, allocations: 0.9646 MB / 1.369 GB, free: 4.938 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003397/1.177, allocations: 124 kB / 1.369 GB, free: 4.816 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/1.181, allocations: 1.454 MB / 1.37 GB, free: 3.359 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007466/1.182, allocations: 0.565 MB / 1.371 GB, free: 2.793 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.183, allocations: 0.7273 MB / 1.371 GB, free: 2.062 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/1.187, allocations: 2.344 MB / 1.374 GB, free: 15.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.187, allocations: 0 / 1.374 GB, free: 15.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.264e-06/1.187, allocations: 0 / 1.374 GB, free: 15.71 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.962e-05/1.187, allocations: 0 / 1.374 GB, free: 15.71 MB / 1.107 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.003027/1.19, allocations: 1.657 MB / 1.375 GB, free: 14 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.19, allocations: 16.56 kB / 1.375 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/1.192, allocations: 326.9 kB / 1.376 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/1.194, allocations: 0.9222 MB / 1.377 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/1.194, allocations: 74 kB / 1.377 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/1.194, allocations: 99.95 kB / 1.377 GB, free: 12.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/1.196, allocations: 1.085 MB / 1.378 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/1.196, allocations: 4 kB / 1.378 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.196, allocations: 43.98 kB / 1.378 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/1.196, allocations: 41.98 kB / 1.378 GB, free: 11.35 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/1.198, allocations: 0.9915 MB / 1.379 GB, free: 10.36 MB / 1.107 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.006782/1.205, allocations: 4.229 MB / 1.383 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.206, allocations: 0.5938 MB / 1.384 GB, free: 5.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/1.206, allocations: 351 kB / 1.384 GB, free: 4.887 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.207, allocations: 101.5 kB / 1.384 GB, free: 4.77 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.207, allocations: 43 kB / 1.384 GB, free: 4.719 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/1.207, allocations: 0 / 1.384 GB, free: 4.719 MB / 1.107 GB Notification: Performance of matching and sorting (n=55): time 0.004717/1.211, allocations: 2.21 MB / 1.386 GB, free: 2.395 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.212, allocations: 59.91 kB / 1.386 GB, free: 2.324 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.213, allocations: 0.8882 MB / 1.387 GB, free: 1.43 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/1.213, allocations: 37.7 kB / 1.387 GB, free: 1.387 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/1.213, allocations: 0.5274 MB / 1.388 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/1.214, allocations: 210.2 kB / 1.388 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/1.214, allocations: 138.6 kB / 1.388 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.214, allocations: 334 kB / 1.388 GB, free: 176 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/1.215, allocations: 285.8 kB / 1.389 GB, free: 15.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/1.215, allocations: 433 kB / 1.389 GB, free: 15.42 MB / 1.123 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.00425/1.22, allocations: 1.741 MB / 1.391 GB, free: 13.61 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.22, allocations: 0 / 1.391 GB, free: 13.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001867/1.221, allocations: 0.9267 MB / 1.392 GB, free: 12.67 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.221, allocations: 8 kB / 1.392 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.221, allocations: 8 kB / 1.392 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/1.222, allocations: 98.45 kB / 1.392 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/1.223, allocations: 171.7 kB / 1.392 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/1.227, allocations: 4.629 MB / 1.396 GB, free: 7.328 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.228, allocations: 31.94 kB / 1.396 GB, free: 7.297 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/1.228, allocations: 28 kB / 1.396 GB, free: 7.27 MB / 1.123 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.0007044/1.229, allocations: 359 kB / 1.397 GB, free: 6.91 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.229, allocations: 99.39 kB / 1.397 GB, free: 6.812 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/1.229, allocations: 109.2 kB / 1.397 GB, free: 6.703 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.229, allocations: 8 kB / 1.397 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.229, allocations: 4 kB / 1.397 GB, free: 6.691 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/1.231, allocations: 0.7614 MB / 1.398 GB, free: 5.875 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/1.234, allocations: 1.996 MB / 1.4 GB, free: 3.777 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.234, allocations: 4 kB / 1.4 GB, free: 3.773 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/1.235, allocations: 148.2 kB / 1.4 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/1.235, allocations: 40.83 kB / 1.4 GB, free: 3.586 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/1.235, allocations: 16 kB / 1.4 GB, free: 3.57 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/1.237, allocations: 1.606 MB / 1.401 GB, free: 1.824 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.237, allocations: 7.984 kB / 1.401 GB, free: 1.816 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/1.239, allocations: 1.208 MB / 1.403 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/1.239, allocations: 264.3 kB / 1.403 GB, free: 280 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.24, allocations: 16 kB / 1.403 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/1.24, allocations: 28.58 kB / 1.403 GB, free: 236 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.24, allocations: 51.88 kB / 1.403 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/1.24, allocations: 31.98 kB / 1.403 GB, free: 152 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009088/1.241, allocations: 0.6122 MB / 1.404 GB, free: 15.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.91e-07/1.241, allocations: 0 / 1.404 GB, free: 15.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001056/1.242, allocations: 304 kB / 1.404 GB, free: 15.25 MB / 1.139 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.0005247/1.243, allocations: 206 kB / 1.404 GB, free: 15.04 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001885/1.245, allocations: 1.01 MB / 1.405 GB, free: 13.99 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.245, allocations: 0 / 1.405 GB, free: 13.99 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007064/1.246, allocations: 452 kB / 1.406 GB, free: 13.54 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/1.249, allocations: 0.6544 MB / 1.406 GB, free: 12.9 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/1.253, allocations: 2.128 MB / 1.408 GB, free: 10.7 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.254, allocations: 1.166 MB / 1.409 GB, free: 9.508 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001041/1.255, allocations: 256.4 kB / 1.41 GB, free: 9.254 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.255, allocations: 71.44 kB / 1.41 GB, free: 9.184 MB / 1.139 GB Notification: Performance of SimCode: time 1.633e-06/1.255, allocations: 4 kB / 1.41 GB, free: 9.18 MB / 1.139 GB Notification: Performance of Templates: time 0.0437/1.299, allocations: 22.52 MB / 1.432 GB, free: 2.953 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches