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.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.0008135/0.0008135, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008806/0.0008806, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8656/0.8656, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.749/1.749, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.773e-06/1.773e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.276e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6055/0.6055, allocations: 168.3 MB / 1.164 GB, free: 9.879 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00848/0.614, allocations: 5.425 MB / 1.169 GB, free: 6.191 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.6155, allocations: 53.91 kB / 1.169 GB, free: 6.164 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.6171, allocations: 0.5534 MB / 1.17 GB, free: 5.863 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.622, allocations: 1.964 MB / 1.172 GB, free: 4.77 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.625, allocations: 1.241 MB / 1.173 GB, free: 4.105 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004467/0.6295, allocations: 3.029 MB / 1.176 GB, free: 2.691 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.6311, allocations: 0.8092 MB / 1.177 GB, free: 2.301 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004537/0.6357, allocations: 1.661 MB / 1.178 GB, free: 1.559 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.6384, allocations: 0.9063 MB / 1.179 GB, free: 1.27 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.6388, allocations: 122.7 kB / 1.179 GB, free: 1.27 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.6424, allocations: 1.22 MB / 1.181 GB, free: 0.8281 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0008694/0.6432, allocations: 0.6133 MB / 1.181 GB, free: 0.5586 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.6445, allocations: 0.5151 MB / 1.182 GB, free: 356 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.6495, allocations: 2.383 MB / 1.184 GB, free: 15.52 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6495, allocations: 0 / 1.184 GB, free: 15.52 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6495, allocations: 1.094 kB / 1.184 GB, free: 15.52 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.742e-05/0.6496, allocations: 0 / 1.184 GB, free: 15.52 MB / 1.042 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.004012/0.6536, allocations: 1.564 MB / 1.186 GB, free: 14.55 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.6536, allocations: 10.09 kB / 1.186 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/0.6538, allocations: 161.4 kB / 1.186 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.6554, allocations: 337.5 kB / 1.186 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6568, allocations: 0.8506 MB / 1.187 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.6569, allocations: 69.5 kB / 1.187 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.657, allocations: 101.5 kB / 1.187 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.6587, allocations: 1.529 MB / 1.189 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.6587, allocations: 0 / 1.189 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.6588, allocations: 46.25 kB / 1.189 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.6588, allocations: 42.77 kB / 1.189 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.6602, allocations: 0.9849 MB / 1.19 GB, free: 12.48 MB / 1.042 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.004383/0.6645, allocations: 2.904 MB / 1.192 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.6652, allocations: 0.5638 MB / 1.193 GB, free: 10.87 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.6656, allocations: 319.7 kB / 1.193 GB, free: 10.76 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.6657, allocations: 27.97 kB / 1.193 GB, free: 10.75 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.6658, allocations: 46.84 kB / 1.193 GB, free: 10.71 MB / 1.042 GB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.6658, allocations: 0 / 1.193 GB, free: 10.71 MB / 1.042 GB Notification: Performance of matching and sorting (n=55): time 0.003045/0.6688, allocations: 1.921 MB / 1.195 GB, free: 9.785 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6688, allocations: 57.47 kB / 1.195 GB, free: 9.723 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.6698, allocations: 0.8871 MB / 1.196 GB, free: 9.367 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.6699, allocations: 41.98 kB / 1.196 GB, free: 9.324 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.6702, allocations: 0.5207 MB / 1.197 GB, free: 8.906 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.6703, allocations: 203.5 kB / 1.197 GB, free: 8.746 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.6705, allocations: 135.5 kB / 1.197 GB, free: 8.668 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.6706, allocations: 338.5 kB / 1.197 GB, free: 8.348 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.6709, allocations: 284.1 kB / 1.198 GB, free: 8.258 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.6713, allocations: 491.4 kB / 1.198 GB, free: 7.941 MB / 1.042 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.002389/0.6737, allocations: 1.667 MB / 1.2 GB, free: 7.109 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6737, allocations: 1.125 kB / 1.2 GB, free: 7.109 MB / 1.042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001169/0.6749, allocations: 0.9281 MB / 1.201 GB, free: 6.621 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6749, allocations: 6.562 kB / 1.201 GB, free: 6.621 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6749, allocations: 6.938 kB / 1.201 GB, free: 6.621 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.6751, allocations: 93.61 kB / 1.201 GB, free: 6.566 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.6755, allocations: 173.2 kB / 1.201 GB, free: 6.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.678, allocations: 4.307 MB / 1.205 GB, free: 2.348 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.6788, allocations: 30.11 kB / 1.205 GB, free: 2.332 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.6788, allocations: 27.91 kB / 1.205 GB, free: 2.328 MB / 1.042 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.0005929/0.6794, allocations: 344.8 kB / 1.205 GB, free: 2.078 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.6795, allocations: 107.4 kB / 1.206 GB, free: 2.023 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.6796, allocations: 116.1 kB / 1.206 GB, free: 1.938 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6797, allocations: 9.25 kB / 1.206 GB, free: 1.934 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6797, allocations: 0 / 1.206 GB, free: 1.934 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009161/0.6806, allocations: 0.7576 MB / 1.206 GB, free: 1.418 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.6829, allocations: 1.814 MB / 1.208 GB, free: 232 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6829, allocations: 5.594 kB / 1.208 GB, free: 232 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.6833, allocations: 144.8 kB / 1.208 GB, free: 196 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.646e-05/0.6833, allocations: 46.98 kB / 1.208 GB, free: 168 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.6834, allocations: 14 kB / 1.208 GB, free: 160 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.6843, allocations: 1.502 MB / 1.21 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6843, allocations: 9 kB / 1.21 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.6856, allocations: 1.203 MB / 1.211 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.686, allocations: 183.5 kB / 1.211 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.6861, allocations: 15.56 kB / 1.211 GB, free: 13.85 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.6865, allocations: 36.06 kB / 1.211 GB, free: 13.84 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.6866, allocations: 43.89 kB / 1.211 GB, free: 13.81 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.6867, allocations: 30.48 kB / 1.211 GB, free: 13.8 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0006367/0.6873, allocations: 0.6182 MB / 1.212 GB, free: 13.45 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.6873, allocations: 0 / 1.212 GB, free: 13.45 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0007994/0.6881, allocations: 306.6 kB / 1.212 GB, free: 13.43 MB / 1.057 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.00157/0.6897, allocations: 1.831 MB / 1.214 GB, free: 12.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6908, allocations: 0.9885 MB / 1.215 GB, free: 11.44 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6908, allocations: 3.938 kB / 1.215 GB, free: 11.44 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.6912, allocations: 431.6 kB / 1.215 GB, free: 11.18 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.6929, allocations: 0.6339 MB / 1.216 GB, free: 10.85 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.7018, allocations: 7.916 MB / 1.224 GB, free: 5.23 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.7023, allocations: 0.5741 MB / 1.224 GB, free: 4.621 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0008416/0.7031, allocations: 256.4 kB / 1.225 GB, free: 4.367 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.7036, allocations: 380.4 kB / 1.225 GB, free: 3.996 MB / 1.057 GB Notification: Performance of SimCode: time 1.753e-06/0.7036, allocations: 0 / 1.225 GB, free: 3.996 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.7536, allocations: 33.46 MB / 1.258 GB, free: 3.23 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.939, allocations: 3.938 kB / 1.258 GB, free: 3.227 MB / 1.089 GB " [Timeout remaining time 291] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.96451223269105]