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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.09/3.09, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 76.41 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3755, allocations: 173.9 MB / 1.304 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2253/0.6008, allocations: 191.2 MB / 1.491 GB, free: 1.551 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.6114, allocations: 5.745 MB / 1.496 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.6131, allocations: 35.81 kB / 1.496 GB, free: 11.76 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.615, allocations: 0.6059 MB / 1.497 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.6206, allocations: 1.894 MB / 1.499 GB, free: 9.25 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.6243, allocations: 1.196 MB / 1.5 GB, free: 8.059 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005257/0.6296, allocations: 2.962 MB / 1.503 GB, free: 5.09 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.6318, allocations: 0.9408 MB / 1.504 GB, free: 4.129 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.6353, allocations: 1.3 MB / 1.505 GB, free: 2.824 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.6384, allocations: 1.014 MB / 1.506 GB, free: 1.812 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005933/0.639, allocations: 124 kB / 1.506 GB, free: 1.691 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.6433, allocations: 1.52 MB / 1.508 GB, free: 172 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.6445, allocations: 0.5688 MB / 1.508 GB, free: 15.59 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.6469, allocations: 0.7312 MB / 1.509 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.6532, allocations: 2.344 MB / 1.511 GB, free: 12.51 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.6532, allocations: 0 / 1.511 GB, free: 12.51 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6532, allocations: 0 / 1.511 GB, free: 12.51 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.705e-05/0.6533, allocations: 0 / 1.511 GB, free: 12.51 MB / 1.217 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.005174/0.6585, allocations: 1.657 MB / 1.513 GB, free: 10.8 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.6585, allocations: 12.86 kB / 1.513 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004397/0.659, allocations: 164.2 kB / 1.513 GB, free: 10.62 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.6615, allocations: 338.9 kB / 1.513 GB, free: 10.29 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.6635, allocations: 0.9183 MB / 1.514 GB, free: 9.324 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/0.6636, allocations: 74 kB / 1.514 GB, free: 9.254 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6637, allocations: 96 kB / 1.514 GB, free: 9.16 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.6658, allocations: 1.089 MB / 1.515 GB, free: 8.062 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.6658, allocations: 0 / 1.515 GB, free: 8.062 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.6659, allocations: 44 kB / 1.515 GB, free: 8.02 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.666, allocations: 38 kB / 1.515 GB, free: 7.98 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.6678, allocations: 0.9954 MB / 1.516 GB, free: 6.988 MB / 1.217 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.008147/0.676, allocations: 4.389 MB / 1.521 GB, free: 2.266 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.677, allocations: 0.5591 MB / 1.521 GB, free: 1.699 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.6775, allocations: 322.5 kB / 1.522 GB, free: 1.379 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.6778, allocations: 113.4 kB / 1.522 GB, free: 1.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.6778, allocations: 43 kB / 1.522 GB, free: 1.199 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.6778, allocations: 0 / 1.522 GB, free: 1.199 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.004942/0.6827, allocations: 2.214 MB / 1.524 GB, free: 14.86 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.6828, allocations: 59.91 kB / 1.524 GB, free: 14.79 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.6843, allocations: 0.8804 MB / 1.525 GB, free: 13.9 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.6844, allocations: 41.7 kB / 1.525 GB, free: 13.85 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.6849, allocations: 0.5157 MB / 1.525 GB, free: 13.33 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.6851, allocations: 210.2 kB / 1.526 GB, free: 13.12 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.6854, allocations: 126.6 kB / 1.526 GB, free: 12.99 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6855, allocations: 338 kB / 1.526 GB, free: 12.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.6861, allocations: 285.8 kB / 1.526 GB, free: 12.38 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.6867, allocations: 440.9 kB / 1.527 GB, free: 11.9 MB / 1.232 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.004255/0.691, allocations: 1.741 MB / 1.528 GB, free: 10.09 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.691, allocations: 0 / 1.528 GB, free: 10.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001854/0.6928, allocations: 0.9262 MB / 1.529 GB, free: 9.145 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.6929, allocations: 12.48 kB / 1.529 GB, free: 9.133 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6929, allocations: 7.938 kB / 1.529 GB, free: 9.125 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.6931, allocations: 98.52 kB / 1.529 GB, free: 9.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.6939, allocations: 159.8 kB / 1.53 GB, free: 8.863 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/0.6983, allocations: 4.633 MB / 1.534 GB, free: 3.809 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6994, allocations: 27.98 kB / 1.534 GB, free: 3.781 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.6995, allocations: 24 kB / 1.534 GB, free: 3.758 MB / 1.232 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.0007446/0.7002, allocations: 357.5 kB / 1.535 GB, free: 3.398 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.7005, allocations: 107.4 kB / 1.535 GB, free: 3.293 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.7008, allocations: 117 kB / 1.535 GB, free: 3.176 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7008, allocations: 4 kB / 1.535 GB, free: 3.172 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7008, allocations: 0 / 1.535 GB, free: 3.172 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.702, allocations: 0.7653 MB / 1.535 GB, free: 2.359 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.7057, allocations: 1.988 MB / 1.537 GB, free: 268 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7057, allocations: 4 kB / 1.537 GB, free: 264 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.7064, allocations: 148.2 kB / 1.538 GB, free: 116 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.7065, allocations: 44.83 kB / 1.538 GB, free: 68 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.7066, allocations: 16 kB / 1.538 GB, free: 52 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.7081, allocations: 1.61 MB / 1.539 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.7081, allocations: 4 kB / 1.539 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.7101, allocations: 1.216 MB / 1.54 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/0.7107, allocations: 260.3 kB / 1.541 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7109, allocations: 16 kB / 1.541 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.7116, allocations: 27.97 kB / 1.541 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.7118, allocations: 47.89 kB / 1.541 GB, free: 12.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/0.7118, allocations: 35.98 kB / 1.541 GB, free: 12.63 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009378/0.7128, allocations: 0.6122 MB / 1.541 GB, free: 12.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7128, allocations: 0 / 1.541 GB, free: 12.02 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001035/0.7138, allocations: 303.9 kB / 1.542 GB, free: 11.73 MB / 1.248 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.002647/0.7165, allocations: 1.849 MB / 1.543 GB, free: 9.82 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.7181, allocations: 0.9867 MB / 1.544 GB, free: 8.793 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7181, allocations: 4 kB / 1.544 GB, free: 8.789 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.7188, allocations: 440.2 kB / 1.545 GB, free: 8.348 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.7215, allocations: 0.6487 MB / 1.545 GB, free: 7.711 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.7345, allocations: 7.969 MB / 1.553 GB, free: 15.43 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.7356, allocations: 1.174 MB / 1.554 GB, free: 14.23 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001037/0.7367, allocations: 252.4 kB / 1.555 GB, free: 13.98 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.7373, allocations: 383.3 kB / 1.555 GB, free: 13.6 MB / 1.264 GB Notification: Performance of SimCode: time 1.242e-06/0.7373, allocations: 0 / 1.555 GB, free: 13.6 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07801/0.8153, allocations: 30.64 MB / 1.585 GB, free: 15.48 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.95, allocations: 2.625 kB / 1.585 GB, free: 15.48 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.6203581308946]