Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001714/0.001714, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002268/0.002268, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.033/3.033, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001943/0.001943, allocations: 66.77 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3057, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2016/0.5074, allocations: 168.2 MB / 1.491 GB, free: 8.652 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009547/0.5169, allocations: 5.402 MB / 1.496 GB, free: 3.238 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.5182, allocations: 63.5 kB / 1.496 GB, free: 3.176 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.5198, allocations: 0.5319 MB / 1.497 GB, free: 2.641 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.5242, allocations: 1.684 MB / 1.498 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.5274, allocations: 1.235 MB / 1.5 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.5311, allocations: 2.578 MB / 1.502 GB, free: 13.13 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.5324, allocations: 0.7083 MB / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.5351, allocations: 1.257 MB / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.5373, allocations: 0.8656 MB / 1.505 GB, free: 10.28 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.5376, allocations: 104 kB / 1.505 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.5403, allocations: 1.274 MB / 1.506 GB, free: 8.902 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.5411, allocations: 0.4947 MB / 1.507 GB, free: 8.406 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009847/0.542, allocations: 0.5135 MB / 1.507 GB, free: 7.891 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.5459, allocations: 2.083 MB / 1.509 GB, free: 5.801 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5459, allocations: 0 / 1.509 GB, free: 5.801 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5459, allocations: 3.938 kB / 1.509 GB, free: 5.797 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.064e-05/0.5459, allocations: 0 / 1.509 GB, free: 5.797 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00319/0.5491, allocations: 1.442 MB / 1.511 GB, free: 4.316 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5492, allocations: 8.031 kB / 1.511 GB, free: 4.309 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.402e-05/0.5492, allocations: 26 kB / 1.511 GB, free: 4.285 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.5494, allocations: 143.2 kB / 1.511 GB, free: 4.137 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.5516, allocations: 338.9 kB / 1.511 GB, free: 3.805 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.5533, allocations: 0.7402 MB / 1.512 GB, free: 3.035 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.5534, allocations: 66 kB / 1.512 GB, free: 2.973 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.5535, allocations: 87.94 kB / 1.512 GB, free: 2.887 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.5558, allocations: 1.476 MB / 1.513 GB, free: 1.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.5559, allocations: 0 / 1.513 GB, free: 1.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.556, allocations: 40 kB / 1.513 GB, free: 1.23 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.556, allocations: 38 kB / 1.514 GB, free: 1.195 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5577, allocations: 0.8235 MB / 1.514 GB, free: 380 kB / 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.006057/0.5637, allocations: 3.268 MB / 1.518 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.5644, allocations: 351.3 kB / 1.518 GB, free: 12.66 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.5647, allocations: 210.4 kB / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.5649, allocations: 19.98 kB / 1.518 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.5649, allocations: 42.5 kB / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/0.5649, allocations: 0 / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002733/0.5676, allocations: 1.281 MB / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.5677, allocations: 59.41 kB / 1.519 GB, free: 10.99 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5692, allocations: 0.9928 MB / 1.52 GB, free: 9.977 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.5693, allocations: 37.7 kB / 1.52 GB, free: 9.934 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.5697, allocations: 0.4963 MB / 1.521 GB, free: 9.434 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.5698, allocations: 146.8 kB / 1.521 GB, free: 9.289 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.5701, allocations: 126.2 kB / 1.521 GB, free: 9.16 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5702, allocations: 330 kB / 1.521 GB, free: 8.832 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.5707, allocations: 237.2 kB / 1.522 GB, free: 8.602 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.5713, allocations: 471.2 kB / 1.522 GB, free: 8.051 MB / 1.217 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.002621/0.574, allocations: 1.146 MB / 1.523 GB, free: 6.824 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.574, allocations: 4 kB / 1.523 GB, free: 6.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001497/0.5755, allocations: 0.7624 MB / 1.524 GB, free: 6.051 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.5755, allocations: 15.94 kB / 1.524 GB, free: 6.035 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5755, allocations: 8 kB / 1.524 GB, free: 6.027 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5755, allocations: 8 kB / 1.524 GB, free: 6.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.5761, allocations: 139.8 kB / 1.524 GB, free: 5.883 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.5761, allocations: 11.94 kB / 1.524 GB, free: 5.871 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/0.5771, allocations: 59.95 kB / 1.524 GB, free: 5.812 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.5771, allocations: 27.94 kB / 1.524 GB, free: 5.785 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004977/0.5776, allocations: 321.5 kB / 1.525 GB, free: 5.461 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.5778, allocations: 107.3 kB / 1.525 GB, free: 5.355 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.5781, allocations: 101 kB / 1.525 GB, free: 5.254 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5781, allocations: 4 kB / 1.525 GB, free: 5.25 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5781, allocations: 4 kB / 1.525 GB, free: 5.246 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007249/0.5788, allocations: 0.6791 MB / 1.525 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.5813, allocations: 1.433 MB / 1.527 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5813, allocations: 4 kB / 1.527 GB, free: 2.945 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.5817, allocations: 91.83 kB / 1.527 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.5817, allocations: 4 kB / 1.527 GB, free: 2.852 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.5818, allocations: 15.94 kB / 1.527 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.5818, allocations: 8 kB / 1.527 GB, free: 2.828 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5818, allocations: 7.938 kB / 1.527 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.5829, allocations: 0.838 MB / 1.528 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.5833, allocations: 163.2 kB / 1.528 GB, free: 1.758 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.5835, allocations: 19.98 kB / 1.528 GB, free: 1.738 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.5842, allocations: 34.03 kB / 1.528 GB, free: 1.707 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.5843, allocations: 35.83 kB / 1.528 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.5844, allocations: 27.98 kB / 1.528 GB, free: 1.645 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001114/0.5855, allocations: 0.7116 MB / 1.529 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5855, allocations: 0 / 1.529 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009097/0.5864, allocations: 255.9 kB / 1.529 GB, free: 0.6719 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/0.5881, allocations: 1.477 MB / 1.53 GB, free: 15.12 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009892/0.5891, allocations: 491.7 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5891, allocations: 0 / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.5894, allocations: 185.3 kB / 1.531 GB, free: 14.46 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.5921, allocations: 0.6255 MB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.6035, allocations: 7.636 MB / 1.539 GB, free: 5.836 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.6042, allocations: 0.5002 MB / 1.54 GB, free: 5.301 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009503/0.6051, allocations: 248.4 kB / 1.54 GB, free: 5.055 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.6057, allocations: 343.3 kB / 1.54 GB, free: 4.719 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/0.6057, allocations: 0 / 1.54 GB, free: 4.719 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06157/0.6672, allocations: 30.5 MB / 1.57 GB, free: 6.973 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.74, allocations: 16.61 kB / 1.57 GB, free: 6.965 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: 20.224422663915902]