Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7715 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 65.09 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 170 MB / 1.284 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2539/0.5911, allocations: 194.4 MB / 1.474 GB, free: 8.426 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.6022, allocations: 5.749 MB / 1.48 GB, free: 2.668 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.6039, allocations: 59.5 kB / 1.48 GB, free: 2.609 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.6058, allocations: 0.602 MB / 1.48 GB, free: 2.004 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.6115, allocations: 1.936 MB / 1.482 GB, free: 64 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004196/0.6157, allocations: 1.227 MB / 1.483 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006194/0.6219, allocations: 3.041 MB / 1.486 GB, free: 11.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.6237, allocations: 0.8243 MB / 1.487 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.6267, allocations: 1.121 MB / 1.488 GB, free: 9.828 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.6297, allocations: 1.033 MB / 1.489 GB, free: 8.797 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005781/0.6303, allocations: 128 kB / 1.489 GB, free: 8.672 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.6346, allocations: 1.559 MB / 1.491 GB, free: 7.109 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.6358, allocations: 0.5843 MB / 1.491 GB, free: 6.523 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.6378, allocations: 0.7195 MB / 1.492 GB, free: 5.801 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.6442, allocations: 2.348 MB / 1.494 GB, free: 3.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.6442, allocations: 0 / 1.494 GB, free: 3.445 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6442, allocations: 0 / 1.494 GB, free: 3.445 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.087e-05/0.6443, allocations: 0 / 1.494 GB, free: 3.445 MB / 1.186 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.004215/0.6485, allocations: 1.59 MB / 1.496 GB, free: 1.816 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.6486, allocations: 16.03 kB / 1.496 GB, free: 1.801 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.794e-05/0.6486, allocations: 29.94 kB / 1.496 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.6489, allocations: 156.2 kB / 1.496 GB, free: 1.613 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.6511, allocations: 334.9 kB / 1.497 GB, free: 1.285 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.6534, allocations: 0.8422 MB / 1.497 GB, free: 424 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.6535, allocations: 74 kB / 1.497 GB, free: 348 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.6537, allocations: 99.94 kB / 1.498 GB, free: 248 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.6561, allocations: 1.081 MB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.6561, allocations: 7.938 kB / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.6562, allocations: 40 kB / 1.499 GB, free: 15.11 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.6562, allocations: 42 kB / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.6582, allocations: 0.9915 MB / 1.5 GB, free: 14.07 MB / 1.201 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.008045/0.6662, allocations: 4.164 MB / 1.504 GB, free: 9.617 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.6673, allocations: 0.5677 MB / 1.504 GB, free: 9.043 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.6679, allocations: 318.5 kB / 1.505 GB, free: 8.727 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.6681, allocations: 28.42 kB / 1.505 GB, free: 8.699 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.6681, allocations: 43 kB / 1.505 GB, free: 8.648 MB / 1.201 GB Notification: Performance of pre-optimization done (n=53): time 3.747e-06/0.6682, allocations: 3.938 kB / 1.505 GB, free: 8.645 MB / 1.201 GB Notification: Performance of matching and sorting (n=55): time 0.004805/0.673, allocations: 1.919 MB / 1.506 GB, free: 6.676 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.673, allocations: 55.91 kB / 1.507 GB, free: 6.609 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.6744, allocations: 0.8844 MB / 1.507 GB, free: 5.715 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.6745, allocations: 41.7 kB / 1.507 GB, free: 5.668 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.675, allocations: 0.5196 MB / 1.508 GB, free: 5.141 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.6752, allocations: 210.2 kB / 1.508 GB, free: 4.934 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.6755, allocations: 130.6 kB / 1.508 GB, free: 4.797 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6756, allocations: 330 kB / 1.509 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.6762, allocations: 285.8 kB / 1.509 GB, free: 4.191 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.6769, allocations: 437 kB / 1.509 GB, free: 3.715 MB / 1.201 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.004477/0.6814, allocations: 1.687 MB / 1.511 GB, free: 1.977 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6814, allocations: 0 / 1.511 GB, free: 1.977 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001883/0.6833, allocations: 0.9288 MB / 1.512 GB, free: 1.031 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.6833, allocations: 7.938 kB / 1.512 GB, free: 1.023 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6833, allocations: 4 kB / 1.512 GB, free: 1.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.6836, allocations: 94.52 kB / 1.512 GB, free: 0.918 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.6844, allocations: 167.8 kB / 1.512 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/0.689, allocations: 4.314 MB / 1.516 GB, free: 12.1 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.6901, allocations: 44.08 kB / 1.516 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.6903, allocations: 27.94 kB / 1.516 GB, free: 12.03 MB / 1.217 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.0008152/0.6911, allocations: 341.6 kB / 1.517 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.6914, allocations: 103.3 kB / 1.517 GB, free: 11.58 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.6917, allocations: 109.2 kB / 1.517 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.6917, allocations: 8 kB / 1.517 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6917, allocations: 3.938 kB / 1.517 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.693, allocations: 0.7677 MB / 1.518 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.6969, allocations: 1.957 MB / 1.52 GB, free: 8.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.6969, allocations: 4 kB / 1.52 GB, free: 8.586 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.6977, allocations: 139.8 kB / 1.52 GB, free: 8.449 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.6978, allocations: 48.77 kB / 1.52 GB, free: 8.398 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.6979, allocations: 16 kB / 1.52 GB, free: 8.383 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6994, allocations: 1.502 MB / 1.521 GB, free: 6.766 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.6995, allocations: 8 kB / 1.521 GB, free: 6.758 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.7017, allocations: 1.207 MB / 1.522 GB, free: 5.492 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.7022, allocations: 187.2 kB / 1.523 GB, free: 5.309 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7024, allocations: 20 kB / 1.523 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/0.7031, allocations: 31.98 kB / 1.523 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7033, allocations: 51.58 kB / 1.523 GB, free: 5.207 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.7033, allocations: 31.98 kB / 1.523 GB, free: 5.176 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009251/0.7043, allocations: 0.6161 MB / 1.523 GB, free: 4.562 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7043, allocations: 4 kB / 1.523 GB, free: 4.559 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001143/0.7054, allocations: 300 kB / 1.524 GB, free: 4.266 MB / 1.217 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.002636/0.708, allocations: 1.833 MB / 1.525 GB, free: 2.363 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.7098, allocations: 0.9832 MB / 1.526 GB, free: 1.344 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7098, allocations: 5 kB / 1.526 GB, free: 1.34 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.7106, allocations: 442.4 kB / 1.527 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.714, allocations: 0.6585 MB / 1.527 GB, free: 260 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.7279, allocations: 7.971 MB / 1.535 GB, free: 7.961 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009959/0.7289, allocations: 1.163 MB / 1.536 GB, free: 6.77 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001039/0.7299, allocations: 256.4 kB / 1.537 GB, free: 6.516 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.7305, allocations: 379.3 kB / 1.537 GB, free: 6.145 MB / 1.232 GB Notification: Performance of SimCode: time 6.82e-07/0.7305, allocations: 0 / 1.537 GB, free: 6.145 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09107/0.8216, allocations: 31.24 MB / 1.567 GB, free: 7.391 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.52, allocations: 11.94 kB / 1.567 GB, free: 7.379 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.450897774018813]